Getting gdc working with xcode 3.1

Michel Fortin michel.fortin at michelf.com
Sun Sep 21 14:36:43 PDT 2008


On 2008-09-21 13:52:19 -0400, Anders F Björklund <afb at algonet.se> said:

>> 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.

Well, I meant that the latest gdcmac wouldn't run out of the box on Mac 
OS X Leopard. You have to include manually the standard library path 
and the linker doesn't work very well for PowerPC (Apple's fault, I 
know, but still one more thing to figure out and fix). Perhaps 
showstopper was a little harsh; basically, it doesn't "just work" as it 
should, there are still a couple of problems to figure out and solve 
before it works.

>> 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.

Yeah, I know now. I think I've been following the wrong instructions. 
ylixir made me realize that.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the D.gnu mailing list