order of switches
Jeffrey A Law
law@cygnus.com
Thu Aug 12 14:57:00 GMT 1999
In message < 37B33F81.E79F135D@cs.ucla.edu >you write:
> Well.. I can say that with SunCC, when using shared libs,
> I never get "undefined" symbols due to bad ordering.
> (It's not as nice with static libs though). I think that,
> at minimum, it processes all libs and all object files in
> just two pieces, rather than "some libs first, then some
> object files, then more libs, more obj"...
> I can see that this may be somewhat limiting, but in practice
> it's much more convenient.
Catch a clue. Read the manuals. Joe, Alexandre and others are correct, you
are wrong. Unix linkers have worked this way for nearly 30 years.
jeff
More information about the Gcc
mailing list