This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Troubles linking C++ code with STL on egcs-1.1
- To: Alexander_Carmeli at eur dot 3com dot com
- Subject: Re: Troubles linking C++ code with STL on egcs-1.1
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Thu, 6 May 1999 13:16:41 +0200
- CC: egcs at egcs dot cygnus dot com
- References: <80256769.003171F1.00@notesmta.eur.3com.com>
> I took the LEDA precompiled objects from the LEDA website. I downloaded the
> objects for Linux-egcs and ran "make shared" to have the shared libraries
> available.
[...]
> If you have additional clues, please let me know.
It's very easy: Don't use the precompiled objects. Or the other way
'round: Use the compiler that was used to produce the precompiled
object. Use the very same compiler for any object file you link.
Never mix objects produced by different C++ compilers. Didn't I say
this in the last message?
Regards,
Martin