This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: command line order of object files and libraries
- From: wjposer at ldc dot upenn dot edu (William J Poser)
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 28 Mar 2007 19:41:02 -0400 (EDT)
- Subject: Re: command line order of object files and libraries
Just to close this off, it looks like the problem is that
on most systems the library in question is usually dynamically
linked, in which case the ordering constraints do not apply,
and that the problem only arises on the odd system like my desktop
in which either the shared library does not exist or is in a different
directory lower on the path so that static linkage is attempted.
Bill