[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Libtool problem



Hello!

Or is it possible to configure linker so order of librareis in command line
would not matter?

That's not possible for static linking. As on most systems programs are compiled with shared libraries (where the linking order don't matter) most programmers don't take care about the linking order (that is important for static linking).

It's most probably an error in libtool or the libtool generated script. It help most times if you explicitly specify the required libraries as default linker flags in the right order, e.g.:

LIBS="-lxyz -lsocket" ./configure ...


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de