Help running GPC on Linux 2.0.30.
peter at agnes.dida.physik.uni-essen.de
Mon Sep 22 20:16:21 CEST 1997
According to AuX:
> I keep receiving an error when trying to compile a program I just
> finished. I run: 'gpc new.pas -o new' and receive 'cannot open -lgpc.'
You obviously have an installation problem: The `gpc' compiler driver
program cannot locate the libraries `crt0.o' and `libgpc.a'. (This is
the common source of both problems you posted to this list.)
It seems as if you have installed an "a.out" compiler on your ELF system.
Please check whether the following directories (or something similar)
exist and contain the files they should:
`libgpc.a' should be in
`crt0.o' should be in
Alternatively, both files may be in directories which are in your
library path. If you don't have them, get them from your GPC and
sqr (Alternatively) (if my guess is right), you can install an ELF
version of GPC, available on ftp://kampi.hut.fi/jtv/gnu-pascal/binary/
or on ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/binary/.
Alternatively pow 3, you can get the source of GPC (drop `binary' from
the URLs above) and recompile. On a Linux system this is no real problem
if you have the source of gcc-188.8.131.52 (no other version; 7MB compressed)
and follow the instructions in the file `INSTALL'.
Hope this helps,
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski at uni-essen.de - http://home.pages.de/~peter.gerwinski/ 
maintainer GNU Pascal  - http://home.pages.de/~gnu-pascal/ 
More information about the Gpc