This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Installing GCC 3.0 on Redhat
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: Installing GCC 3.0 on Redhat
- From: "Premetz, Dan (MED)" <Daniel dot Premetz at med dot ge dot com>
- Date: Tue, 2 Oct 2001 21:42:18 -0500
OK. I purchased the "Using and Porting GNU CC" from the Free Software
Foundation. I thought I knew what I was doing from reading the book,
until I actually tried to implement what I'd read.
I run the "configure" script for GCC 3.0. This does a slew of "checks".
All OK. I am in the "gcc-3.0" directory when I type "make LANGUAGES=c".
The make compiles for a couple of minutes, then runs a bunch of "link"
commands, then another bunch of "checks".
Problem: During the "check" phase of the "stage 1" compilation, I get
the
following error...
"checking for g++ that will successfully compile libstdc++-v3...
configure: error: please upgrade to GCC 3.0 or above
make: *** [configure-target-libstdc++-v3] Error 1"
I thought the "LANGUAGES=c" argument on the make line would only build
the C compiler stuff. Why does it care about the C++ stuff during the
stage 1 compilation?
I'm stuck. Please help.
-Dan Premetz
################################################################
Dan Premetz, W-832 | Email: premetz@mr.med.ge.com
GE Medical Systems | Phone: 262-521-6581
3200 North Grandview Boulevard | Pager: 414-515-2460
Waukesha, Wisconsin 53188 | Fax: 262-521-6409
################################################################