creating a .so with gdc

Anders F Björklund afb at algonet.se
Fri May 4 09:05:26 PDT 2007


Carlos Santander wrote:

>> $ gcc -dynamiclib -Wl,-install_name,libfoo.dylib -o libfoo.dylib foo.o
>> But my GDC says cc1d: error: unrecognized command line option "-fshared"
> 
> Weird...
> 
> /usr/bin/ld: -i argument: nstall_name must have a ':' between its symbol 

Which compiler are you using ? (I'm using the regular Mac OS X 10.4 one)

--anders


More information about the Digitalmars-d-learn mailing list