creating a .so with gdc

Carlos Santander csantander619 at gmail.com
Fri May 4 14:23:22 PDT 2007


Anders F Björklund escribió:
> 
> 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

I downloaded Apple's version:

gcc version 4.0.1 (Apple Computer, Inc. build 5341) (gdc 0.23, using dmd 1.007)

But I get the same thing:

/usr/bin/ld: -i argument: nstall_name must have a ':' between its symbol names

And I guess that makes sense because it's ld that's failing, not gcc.

$ /usr/bin/ld -v
Apple Computer, Inc. version cctools-590.18.obj~10


-- 
Carlos Santander Bernal


More information about the Digitalmars-d-learn mailing list