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