Problem building on SGI/Irix 6.5

Kevin Cowtan cowtan@ysbl.york.ac.uk
Sat Sep 1 07:17:00 GMT 2001


Hi!

I'm trying to build gcc 3.0.1 (or 3.0) on IRIX 6.5, and having a few problems.
 I am using the gcc bootstrap mode to build gcc, g77 and g++.
 gcc and g77 build fine, and I think the g++ compiler builds OK,
but libstdc++ fails on me (I think - I'm not a Makefile guru).

The failure is in stage 3 - the error seems to be finding gthr.h.
I can confirm that the directory it is looking in does not exist.
/y/people/cowtan/work/gcc-3.0.1/mips-sgi-irix6.5/libstdc++-v3/../
contains:
config.cache  libiberty/  libstdc++-v3/  mabi=64/

Thanks for any advice. Yes, I have tried the copy of gcc-3.0
on the SGI freeware site, without success.

Kevin


gmake[3]: Entering directory 
`/y/people/SCRATCH/cowtan/gcc-3.0.1/mips-sgi-irix6.5/libstdc++-v3'
Making all in include
gmake[4]: Entering directory 
`/y/people/SCRATCH/cowtan/gcc-3.0.1/mips-sgi-irix6.5/libstdc++-v3/include'
echo `date` > stamp-mips-sgi-irix6.5
Cannot create ./basic_file.h: File exists
Cannot create ./basic_ios.h: File exists
.... (lots more cannot creates, which I presume are OK)
Cannot create ./stl_hashtable.h: File exists
Cannot create ./stl_hash_fun.h: File exists
sed -e 
'/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCPP_\1/g' 
\
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < 
/y/people/cowtan/work/gcc-3.0.1/mips-sgi-irix6.5/libstdc++-v3/../gcc/gthr.h > 
mips-sgi-irix6.5/bits/gthr.h
/bin/sh: 
/y/people/cowtan/work/gcc-3.0.1/mips-sgi-irix6.5/libstdc++-v3/../gcc/gthr.h: 
cannot open: No such file or directory
gmake[4]: *** [mips-sgi-irix6.5/bits/gthr.h] Error 1
gmake[4]: Leaving directory 
`/y/people/SCRATCH/cowtan/gcc-3.0.1/mips-sgi-irix6.5/libstdc++-v3/include'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/y/people/SCRATCH/cowtan/gcc-3.0.1/mips-sgi-irix6.5/libstdc++-v3'
gmake[2]: *** [all-recursive-am] Error 2
gmake[2]: Leaving directory 
`/y/people/SCRATCH/cowtan/gcc-3.0.1/mips-sgi-irix6.5/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/y/people/SCRATCH/cowtan/gcc-3.0.1'
gmake: *** [bootstrap] Error 2



More information about the Libstdc++ mailing list