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