Hello,
we have done the following on reading the installation guide. 1../configure --enable-languages=pascal --prefix=<inst dir> --with-gnu-as --with-gnu-ld 2.make {make-3.79 from gnu site) 3.make install
still we are not succesful in building the gpc.the error is attached.
Thanks and regards, Hari
frank@g-n-u.de wrote:
Kocherlakota Harikrishna wrote:
Now we are trying to use the same sources to build the compiler on solaris and while executing the command "make LANGUAGES=pascal"
The LANGUAGES=pascal thing is only for gcc-2.8.1, not gcc-2.95.* where the languages are selected with configure. Please see the install instructions.
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
KOCHERLAKOTA.HARIKRISHNA/OU=DCCH1@bt0200.net.alcatel.be wrote:
Hello we previously had built the compiler on Linux with the sources from
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha site.
Now we are trying to use the same sources to build the compiler on solaris and while executing the command "make LANGUAGES=pascal"
The following error is seen:
make: Fatal error in reader: Makefile, line 2219: Unexpected end of line seen
Current working directory /home/users/gcc-2.95.2/gcc
*** Error code 1
make: Fatal error: Command failed for target `all-gcc'
Please help us how to proceed further .
Thanks and kind Regards hari
/users/anuradas/anu/gcc-2.95.2/gcc/p/rts --automake /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas: In procedure `Unsetenv': /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:249: parse error before `Cstrings' /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: parse error before `Cstrings' /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: parse error before `Cstrings' /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: warning: expression used as a statement - value is ignored /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: warning: statement with no effect /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: warning: expression used as a statement - value is ignored /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: warning: statement with no effect /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:251: parse error before `Cstrings' /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:251: warning: expression used as a statement - value is ignored /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:251: warning: statement with no effect xgpc: Internal compiler error: program gpc1 got fatal signal 11 make[2]: *** [string2.o] Error 1 make[2]: Leaving directory `/home/users/anuradas/anu/gcc/p/rts' make[1]: *** [pascal.rts] Error 2 make[1]: Leaving directory `/home/users/anuradas/anu/gcc' make: *** [install-gcc] Error 2
Kocherlakota Harikrishna wrote:
we have done the following on reading the installation guide. 1../configure --enable-languages=pascal --prefix=<inst dir> --with-gnu-as --with-gnu-ld 2.make {make-3.79 from gnu site) 3.make install
still we are not succesful in building the gpc.the error is attached.
/users/anuradas/anu/gcc-2.95.2/gcc/p/rts --automake /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas: In procedure `Unsetenv': /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:249: parse error before `Cstrings' /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: parse error before `Cstrings' /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: parse error before `Cstrings' /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: warning: expression used as a statement - value is ignored /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: warning: statement with no effect /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: warning: expression used as a statement - value is ignored /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:250: warning: statement with no effect /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:251: parse error before `Cstrings' /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:251: warning: expression used as a statement - value is ignored /home/users/anuradas/anu/gcc-2.95.2/gcc/p/rts/string2.pas:251: warning: statement with no effect xgpc: Internal compiler error: program gpc1 got fatal signal 11 make[2]: *** [string2.o] Error 1 make[2]: Leaving directory `/home/users/anuradas/anu/gcc/p/rts' make[1]: *** [pascal.rts] Error 2 make[1]: Leaving directory `/home/users/anuradas/anu/gcc' make: *** [install-gcc] Error 2
Strange. Were there perhaps any GPI files from a previous compilation left? Then please remove them and build again.
I've just implemented version numbers in GPI files, so such problems will hopefully be past soon (the patch has not been uploaded yet, but will be soon).
Frank