This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.


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

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



Some snapshop versions of egcs does not compile on OSF1 mashines. If this
is the same for some releases I don't know. I have resently compiled a cvs
checkout on my machine and it worked, so this problem is probably old now.
I compiled it with a egcs release

Can you run configure? Otherwise it might be that you have a nonworking
version of sed. I can't login on that computer right now check which
version to use.

I havn't got libgcj to work on my computer yet, but It compiles if one
make the right fixes. I think some of this might be in cvs-version by now,
but not all. But note that I havn't got it to work.

Note also that there are no gcj in the egcs releases, only snapshots.(If I
havn't missed something.)

David.

On Wed, 21 Apr 1999, Charlton Barreto wrote:

> I would like to build libgcj on DEC OSF/1. However, I am unable to even
> build egcs 1.1.2 on it. If someone who has been able to 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.