This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ and 2.95.1--Any problems noted?


"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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]