Subject: can't get libstdc++ built
To: None <netbsd-help@NetBSD.ORG>
From: Zachary E. Beese <zachb@iastate.edu>
List: netbsd-help
Date: 03/31/1996 23:45:56
Hi,

I am running NetBSD-current/i386 and have never been able to get libstdc++
to build.  Here is the error from make:

g++ -O -I/local2/src/gnu/lib/libg++/libstdc++ -I/local2/src/gnu/lib/libg++/libstdc++/../libio -I/local2/src/gnu/lib/libg++/libstdc++/stl -Werror -nostdinc++  -c -frtti /local2/src/gnu/lib/libg++/libstdc++/stdexcepti.cc
cc1plus: Invalid option `-frtti'
/local2/src/gnu/lib/libg++/libstdc++/std/stdexcept.h: In method `bad_typeid::bad_typeid()':
In file included from /local2/src/gnu/lib/libg++/libstdc++/stdexcept:5,
                 from /local2/src/gnu/lib/libg++/libstdc++/stdexcepti.cc:9:
/local2/src/gnu/lib/libg++/libstdc++/std/stdexcept.h:121: no matching function for call to `logic_error::logic_error (char[11])'
/local2/src/gnu/lib/libg++/libstdc++/std/stdexcept.h:121: candidates are: logic_error::logic_error(const logic_error &)
/local2/src/gnu/lib/libg++/libstdc++/std/stdexcept.h:62:                 logic_error::logic_error(const char *const &)
/local2/src/gnu/lib/libg++/libstdc++/std/stdexcept.h:121: in base initialization for class `logic_error'
*** Error code 1

Stop.

I then tried to cd /usr/src/gnu/lib/libg++/libstdc++ && make clean &&
make depend && make, but it still fails in the same place.  I have made
/usr/src/gnu/usr.bin/gcc and installed it, but this doesn't help.  My
sources are from 3/31/96 at about 3am :)

Anyone have any ideas how I can get it going?

Thanks in advance,

Zach Beese
zachb@iastate.edu

---------------------------------------------------------
Zach Beese                     
1320 Gateway, Apt. #611         
Ames, IA  50014        
email: zachb@iastate.edu