Hi,
I've downloaded the binary beta "gpc-19990118_mips-sgi-irix6_2_tar.gz" from ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/beta/binary/, as I'm not really familiar with unix. It should run on a SGI, Power-Challenge-XL12 with IRIX64 v6.2. GCC v2.7 is already installed.
The environmental variable GPC_EXEC_PREFIX does not seem to work, setting the dir with -B as a command option helps.
By compiling a little test program (no uses etc) a fatal error occured:
ld32: FATAL 9: I/O error (-lgpc): No such file or directory
I've copied the files from /gpc/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.8.1 into the bin-dir, but it doesn't helped.
Can anyone help or had made experiences with this version?
Thanks in advance
Oliver
-- Oliver Puetz Tel.: 0234-700-2982 Lehrstuhl fuer Fluidenergiemaschinen Fax.: 0234-7094-358 Ruhr-Universitaet Bochum, Universitaetsstr. 150, 44801 Bochum opuetz@fem.ruhr-uni-bochum.de Gebaeude IB 4/141 www.ruhr-uni-bochum.de/www-public/volgmwbr/mitarb/puetz.htm
Hi, Oliver!
(Note: Since your last email to the list, the list has moved from gpc@hut.fi to gpc@gnu.de.)
The environmental variable GPC_EXEC_PREFIX does not seem to work, setting the dir with -B as a command option helps.
Sanity check: Did you export or perhaps only set the environment variable? With `bash', the difference is
GPC_EXEC_PREFIX=/gpc/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.8.1 # wrong
vs. export GPC_EXEC_PREFIX=/gpc/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.8.1 # correct
By compiling a little test program (no uses etc) a fatal error occured:
ld32: FATAL 9: I/O error (-lgpc): No such file or directory
You might try to give an explicit `-L' to the path where `libgpc.a' is installed:
gpc -L /gpc/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.8.1 foo.pas
Or you can use the C_LIBRARY_PATH environment variable:
export C_LIBRARY_PATH=/gpc/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.8.1
But normally this should not be necessary, so something is wrong with your installation (and thus in the binary distribution on Agnes).
I've copied the files from /gpc/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.8.1 into the bin-dir, but it doesn't helped.
You can try and copy `libgpc.a' into the lib dir.
GCC v2.7 is already installed.
Then it should be more-or-less easy to compile your own GPC on that system. If you want to try that, get egcs-1.1.2 and the GPC source and follow the installation instructions. For patching the GCC source, the file gcc-egcs-1.1.1.diff (aka gcc-egcs-2.91.60.diff) works for egcs-1.1.2.
Hope this helps,
Peter