On Thu, Sep 05, 2002 at 07:06:19PM +0200, jean-frederic clere wrote:
But that did not help because g++ puts -lgcc -lstdc++ after my:
-Wl,"-Bstatic" -lstdc++ -lgcc -Wl,"-Bdynamic"
The libraries are searched in the order that they are listed.
So I would except that the -static-libgcc do a:
BTW why "-lgcc -lc -lgcc", something wrong in the configure of gcc?
Nope. That's normal. (Libraries are searched in the order that they
are listed. libgcc creates a references to something needed from libc,
and in fulfilling that requirement, libc needs something from libgcc that
wasn't needed previously.)