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]

Can't compile egcs on DEC OSF/1 v4.0a


I would like to build egcs 1.1.2 on DEC OSF/1. However, I am unable to
even
build egcs 1.1.2 on it. 

The failure concerns genrtl.h not being generated during the bootstrap.
David
Petterson recalled that someone he knew had run into this problem and
had
a workaround, so at least one other person has seen this problem on DEC
OSF/1
before and has dealt with it somehow. 

If someone who has been able to get around this in building egcs 1.1.2
on DEC OSF/1, or who has been able to successfully build egcs 1.1.2
on DEC OSF/1, could tell me exactly what I need to do to make it work,
I would very greatly appreciate it.

The machine is a DEC Alpha running DEC OSF/1 v4.0a (Rev 464). It has the
following compilers:

% cc -V
cc  (cc)
        Digital UNIX Compiler Driver 3.11
DEC C V5.2-040 on Digital UNIX V4.0 (Rev. 464)

% cxx -V
cxx  (cxx)
DEC CXX V5.7-002 on Digital UNIX (Alpha)

Here's what I've tried..
setenv CC cc (or setenv CC cxx - it makes no diff in this case)
cd /staging/DEC_4.0/egcs-1.1.2
../../egcs-1.1.2/configure --enable-shared --enable-threads
--enable-languages=java
make bootstrap

The compile fails here:

stage1/xgcc -Bstage1/ -c  -DIN_GCC    -O2 -g  -DHAVE_CONFIG_H -DHAIFA   
-I. -I../../../egcs-1.1.2/gcc -I../../../egcs-1.1.2/gcc/config
../../../egcs-1.1.2/gcc/c-lex.c
In file included from ../../../egcs-1.1.2/gcc/c-lex.c:25:
../../../egcs-1.1.2/gcc/rtl.h:1071: genrtl.h: No such file or directory
make[2]: *** [c-lex.o] Error 1
make[2]: Leaving directory `/staging/DEC_4.0/egcs-1.1.2/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/staging/DEC_4.0/egcs-1.1.2/gcc'
make: *** [bootstrap] Error 2

Any assistance you can provide is very greatly appreciated. 

Kind regards,

-Charlton.


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