'-lgpc: not found' and '-lgpc: not found'
I got the binary code of gpc (ftp://ftp.unicamp.br/pub/gnu/gpc-2.0.sparc-sun-solaris2.5.1.tar.gz), and put it on my system (Sparc workstation running Solaris 2.5.1) When I try to compile a pascal program, I receive the message: gpc -o tmp tmp.pas ld: fatal: library -lgpc: not found ld: fatal: library -lgcc: not found ld: fatal: library -lgcc: not found ld: fatal: File processing errors. No output written to t What is wrong? Ricardo Kulzer rkulzer@lacesm.ufsm.br CRSPE-INPE/UFSM
Ricardo Luis Kulzer wrote:
gpc -o tmp tmp.pas
ld: fatal: library -lgpc: not found [...]
Obviously, something is wrong with that binary distribution: `ld' cannot locate the GCC/GPC libraries which are normally in `/usr/local/lib/gcc-lib/<platform>/<GCC version>/'. To work around, you can set an environment variable `C_LIBRARY_PATH' to point to that directory, or pass an option `-L <directory>' to the call to `gpc'. But since you are trying to compile gpc-19980830 anyway, I recommend to install that and forget about gpc-2.0. ;-) Greetings, Peter -- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-980830 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 Fight the SPAM and UBE! - http://spam.abuse.net/ - http://maps.vix.com/
participants (2)
-
Peter Gerwinski -
Ricardo Luis Kulzer