This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems to link shared objects for AIX 4.2
- To: "gilles dot brunet at bagnolet dot tecsi dot com" <gilles dot brunet at bagnolet dot tecsi dot com>
- Subject: Re: Problems to link shared objects for AIX 4.2
- From: Alexandre Oliva <aoliva at cygnus dot com>
- Date: 18 Apr 2000 16:33:31 -0300
- Cc: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>, "'bug-gcc at gnu dot org'" <bug-gcc at gnu dot org>, "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Organization: Cygnus Solutions, a Red Hat Company
- References: <00Apr18.200907cest.115242@saturne.tecsi.com>
On Apr 18, 2000, gilles.brunet@tecsi.com (Gilles Brunet) wrote:
> It seems that all required libraries are present.
It's not just a matter of them being present: they must be present so
that, if a library A has undefined symbols that are defined in another
library B, -lB must appear after -lA in the link command. If you move
-lgcc to the end of the line, it will probably work.
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me