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