In message <38919B7D.19990813155556.FOO-5D74.frank(a)g-n-u.de> Frank Heckenbach writes:
> Hello, folks,
>
> a new GPC snapshot is available:
>
> ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/gpc-19990813.tar.gz
>
Help!
I'm having lots of problems building the new snapshot under RedHat
Linux 6.0 (kernel 2.2.5-15 on i586) using EGCS (source RPM egcs-1.1.2-12,
appears to be version 2.91.66).
I unpacked the egcs source into a directory tree, moved the
snapshot's p directory into gcc, applied the gcc-egcs-2.91.66 patch
(after a bit of editing of directory names within the patch file),
did a ./configure, and am now trying make LANGUAGES=pascal.
Is this the correct sequence of actions? The INSTALL file in the
snapshot doesn't seem to cover building GPC under EGCS.
I guess my first question is: should I be using EGCS or would I be
better off with a plain gcc source, and if so what version?
Various things I've come across so far:
The p/gpc_release file contains 19990610, I think it should contain
19990813.
I think there is something strange about the way the contents of the
gpc_release file is accessed - at the point where I see the make
doing a cd p, I then see an error message from cat that it cannot
find the gpc_release file. It looks as if there is one too few "../"s
on the front of the path to the file.
In p/gpc-common.c at line 2893, TREU_OVERFLOW should be
TREE_OVERFLOW, I think.
(Not a GPC problem): In my gcc/flow.c at line 1493, the code says
REG_N_SEDS, it should be REG_N_SETS, I think.
Finally, I come to a halt with
make[1]: Entering directory `/home/david/egcs/objs/gcc'
gcc -DIN_GCC -g -O2 -DHAVE_CONFIG_H -o cc1 c-parse.o c-lang.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[1]: *** [cc1] Error 1
make: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/david/egcs/objs/gcc'
I think the GCC line has been truncated in copying it between
systems.
Has anyone succeeded in compiling this snapshot in a similar
environment?
--
David James
mailto:david@tcs01.demon.co.uk
Special Stage Rally results archive <URL:http://www.tcs01.demon.co.uk/>