creating a .so with gdc

Carlos Santander csantander619 at gmail.com
Thu May 3 20:30:31 PDT 2007


Can somebody explain for the n-th time how to create a .so with GDC? Here's what 
I'm getting:

$ gdc -fshared -Wl,-soname,libfoo.so -o libfoo.so foo.o
/usr/bin/ld: unknown flag: -soname
collect2: ld returned 1 exit status

That's on Mac OS X. How about also setting up a wiki page so it's easy to find?

-- 
Carlos Santander Bernal


More information about the Digitalmars-d-learn mailing list