www.digitalmars.com         C & C++   DMDScript  

D.gnu - Problems on Linux PPC

reply Joakim Karlsson <aio treyst.se> writes:
Ok, I don't know if this is old news.. but anyways :)

I have finally figured out what goes wrong when trying to compile gdc on 
PowerPC-Linux. This system use different va_list handling than e.g. Mac 
OS X, (and x86 Linux as well).

The difference is arrays v.s. void*

I have taken a fast look at the sources of gdc, but have not found any 
way to patch this. Any ideas?

The script i provided in the list before is otherwise working well on 
powerpc as well.. Besides that it stops when compiling libphobos because 
of va_list incompatibility.

Would be nice to have the compiler working on my laptop as well :)

Regards,

//Joakim Karlsson
Feb 20 2006
parent Carlos Santander <csantander619 gmail.com> writes:
Joakim Karlsson escribió:
 Ok, I don't know if this is old news.. but anyways :)
 
 I have finally figured out what goes wrong when trying to compile gdc on 
 PowerPC-Linux. This system use different va_list handling than e.g. Mac 
 OS X, (and x86 Linux as well).
 
 The difference is arrays v.s. void*
 
 I have taken a fast look at the sources of gdc, but have not found any 
 way to patch this. Any ideas?
 
 The script i provided in the list before is otherwise working well on 
 powerpc as well.. Besides that it stops when compiling libphobos because 
 of va_list incompatibility.
 
 Would be nice to have the compiler working on my laptop as well :)
 
 Regards,
 
 //Joakim Karlsson
David said when he released the latest GDC that the next release would have Linux/PPC support, so we're waiting. -- Carlos Santander Bernal
Feb 20 2006