www.digitalmars.com         C & C++   DMDScript  

D.gnu - Universal GDC

(See http://www.apple.com/universal/ for what "Universal" is)

powerpc-apple-darwin8-gdc-4.0.1: Mach-O fat file with 2 architectures
powerpc-apple-darwin8-gdc-4.0.1 (for architecture i386):  Mach-O 
executable i386
powerpc-apple-darwin8-gdc-4.0.1 (for architecture ppc):   Mach-O 
executable ppc

i686-apple-darwin8-gdc-4.0.1: Mach-O fat file with 2 architectures
i686-apple-darwin8-gdc-4.0.1 (for architecture i386):  Mach-O executable 
i386
i686-apple-darwin8-gdc-4.0.1 (for architecture ppc):   Mach-O executable ppc

libgphobos.a: Mach-O fat file with 2 architectures
libgphobos.a (for architecture ppc):    current ar archive random library
libgphobos.a (for architecture i386):   current ar archive random library


I cross-compiled two "fat" GCCs, and then used the local
GCC/G++/GDC to build the rest of the phobos library with.

Now, the only thing that remains to be tested here is :
Does It Work ? :-) (as I don't have any Intel Mac here)


Put a new package up on SourceForge to find out, I guess ?
(there's the regular GDC support files, beyond the above)

--anders


PS. The "hello x86 world" disassembly looked quite alright...
     (i.e. i686-apple-darwin8-gdc-4.0.1 -c hello.d, that is)
Jan 11 2006