Getting gdc working with xcode 3.1

Anders F Björklund afb at algonet.se
Sun Sep 21 10:52:19 PDT 2008


Michel Fortin wrote:

>> Thanks for the update, I'm still planning to make a
>> release of "gdcmac" for Leopard and might as well aim
>> for Xcode 3.1 and gcc-5484 instead of 3.0 and gcc-5465.
>>
>> Or maybe stick with the original "plan" and go straight
>> for gcc_42 instead, for the fictional GDC 0.25 release ?
>> Along with upgrading MinGW's GCC to 4.2.1, for "gdcwin"...
> 
> Anything that runs out of the box with no show stopper is an improvement 
> from what we have now.

I'm not aware of any showstoppers on Mac OS X Tiger or
Windows XP, just that Mac OS X Leopard of Windows Vista
hasn't been "supported" with the current package releases.

> My current approach is to compile four compilers (PowerPC to PowerPC, 
> PowerPC to Intel, Intel to Intel, and Intel to PowerPC) and merge 
> executables into universal binaries using lipo. But I haven't been able 
> to compile anything but the first variant (PowerPC to PowerPC). Do you 
> have any tip for doing the rest, as you seem to have acheived it somehow 
> for gdcmac?

I used the Apple version of GCC and built it the Apple way.
And it's actually 4 output targets, including the 64-bit...
Similarly I used the MinGW version of GCC and their script.

--anders


More information about the D.gnu mailing list