This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc building problem on Tru64 v5.0
- To: <gcc-bugs at gcc dot gnu dot org>
- Subject: gcc building problem on Tru64 v5.0
- From: Antonio Ake <ake at ecn dot purdue dot edu>
- Date: Mon, 27 Aug 2001 16:53:34 -0500 (EST)
I believe this is a problem related only with Alpha Tru64 v5.0, I have
seen this problem with gcc3.0 and snapshots.
Message error:
checking for g++ that will successfully compile libstdc++-v3... configure:
error: please upgrade to GCC 3.0 or above
I am using 3.0 or sometimes I had used 3.0.1 (snapshots) and I have the
same message error.
The workaound is found on this URL:
http://gcc.gnu.org/ml/libstdc++/2001-07/msg00039.html
Compiling gcc/pt.c -O2 (default produces this output:
gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -DHAVE_CONFIG_H -I. -Icp -I../../gcc-3.0.1/gcc
-I../../gcc-3.0.1/gcc/cp -I../../gcc-3.0.1/gcc/config
-I../../gcc-3.0.1/gcc/../include ../../gcc-3.0.1/gcc/cp/pt.c -o cp/pt.o
../../gcc-3.0.1/gcc/cp/pt.c: In function `inline_needs_template_parms':
../../gcc-3.0.1/gcc/cp/pt.c:306: warning: comparison between signed and
unsigned
../../gcc-3.0.1/gcc/cp/pt.c: In function `is_member_template':
../../gcc-3.0.1/gcc/cp/pt.c:453: warning: comparison between signed and
unsigned
../../gcc-3.0.1/gcc/cp/pt.c: In function `retrieve_specialization':
../../gcc-3.0.1/gcc/cp/pt.c:740: warning: comparison between signed and
unsigned
../../gcc-3.0.1/gcc/cp/pt.c: In function `register_specialization':
../../gcc-3.0.1/gcc/cp/pt.c:825: warning: comparison between signed and
unsigned
../../gcc-3.0.1/gcc/cp/pt.c: In function `check_default_tmpl_args':
../../gcc-3.0.1/gcc/cp/pt.c:2455: warning: comparison between signed and
unsigned
Compiling with -O1 the file gcc/cp.pt.c helps to pass this point. Note:
There is another( in -O1 output) warning compared with -O2 output
gcc -c -DIN_GCC -g -O1 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -DHAVE_CONFIG_H -I. -Icp -I../../gcc-3.0.1/gcc
-I../../gcc-3.0.1/gcc/cp -I../../gcc-3.0.1/gcc/config
-I../../gcc-3.0.1/gcc/../include ../../gcc-3.0.1/gcc/cp/pt.c -o cp/pt.o
../../gcc-3.0.1/gcc/cp/pt.c: In function `inline_needs_template_parms':
../../gcc-3.0.1/gcc/cp/pt.c:306: warning: comparison between signed and
unsigned
../../gcc-3.0.1/gcc/cp/pt.c: In function `is_member_template':
../../gcc-3.0.1/gcc/cp/pt.c:453: warning: comparison between signed and
unsigned
../../gcc-3.0.1/gcc/cp/pt.c: In function `retrieve_specialization':
../../gcc-3.0.1/gcc/cp/pt.c:740: warning: comparison between signed and
unsigned
../../gcc-3.0.1/gcc/cp/pt.c: In function `register_specialization':
../../gcc-3.0.1/gcc/cp/pt.c:825: warning: comparison between signed and
unsigned
../../gcc-3.0.1/gcc/cp/pt.c: In function `check_default_tmpl_args':
../../gcc-3.0.1/gcc/cp/pt.c:2455: warning: comparison between signed and
unsigned
../../gcc-3.0.1/gcc/cp/pt.c: In function `tsubst_template_parms':
../../gcc-3.0.1/gcc/cp/pt.c:5378: warning: comparison between signed and
unsigned