This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ and 2.95.1--Any problems noted?
- To: "George T. Talbot" <george@moberg.com>
- Subject: Re: C++ and 2.95.1--Any problems noted?
- From: Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Date: 23 Aug 1999 23:51:21 +0200
- Cc: gcc@gcc.gnu.org, Cooker <cooker@linux-mandrake.com>
- References: <37C1B45E.7CF02F11@moberg.com>
"George T. Talbot" <george@moberg.com> writes:
> I just downloaded, compiled and installed 2.95.1 on a plain-vanilla x86
> Linux Mandrake 6.0 system. The C library installed is glibc2.1.1pre2
> compiled with egcs 1.1.2.
>
> The configure command I used was:
>
> ../src/configure --prefix=/usr --enable-shared --enable-threads
>
> I then did "make bootstrap" followed by "make install". Everything
> worked.
>
> Then, when I went to compile my C++ program, it died in linking with
> errors where it can't find:
>
> std::terminate(void)
> ostream& operator<< <int>(ostream&, smanip<int> const &)
>
> The program compiled and ran fine w/EGCS 1.1.2.
>
> Any ideas? I've been pulling my hair out with this all day. Note that
> if I use the standard egcs 1.1.2 installation that came preinstalled on
> Linux Mandrake, it gives me errors on std::terminate(), but not the
> operator<< thing.
could you try with rpm of gcc-2.95 from cooker :
http://www.linux-mandrake.com/cooker
--
MandrakeSoft http://www.mandrakesoft.com/
--Chmouel