I'm trying to compile gd-2.0.0b and I get this error:

        ld: unknown flag: -shared

Tom Boutell's Makefile says this:

"#Shared library. This should work fine on any ELF platform (Linux, 
etc.) with
#GNU ld or something similarly intelligent. To avoid the chicken-and-egg
#problem, this target also installs the library so that applications can
#actually find it."

And then includes this snippet of code:

        ld -shared -o libgd.so.${VERSION} ${LIBOBJS}

Does OSX have that "something similarly intelligent" ?

Bill Stephenson

Reply via email to