creating a .so with gdc

Anders F Björklund afb at algonet.se
Fri May 4 12:45:01 PDT 2007


Carlos Santander wrote:

>> Which compiler are you using ? (I'm using the regular Mac OS X 10.4 one)
>>
> $ gdc -v
> Using built-in specs.
> Target: powerpc-apple-darwin8.8.0
> Configured with: ../gcc-4.1.1/configure --disable-multilib 
> --enable-languages=c,d
> Thread model: posix
> gcc version 4.1.1 20060524 (  (gdc 0.23, using dmd 1.007))

OK, if you are using the FSF version of GCC it probably doesn't know 
about the various linker flags for Darwin - those are Apple specials.

$ gdc -v
...
gcc version 4.0.1 (Apple Computer, Inc. build 5363) (gdc 0.23, using dmd 
1.007)

$ gcc -v
...
gcc version 4.0.1 (Apple Computer, Inc. build 5367)

Apple hasn't released the source codes to Xcode 2.4.1 just yet, that's
why the difference in the build numbers (gcc-5363 was from Xcode 2.4)

--anders


More information about the Digitalmars-d-learn mailing list