Compilation error_(re)
Sun, 8 Sep 1996 09:52:51 +0200 (MET DST)
> When I try to compile anything, even the simplest program, I get:
> /usr/i486-linux/bin/ld: cannot open crt0.o: No such file or directory
Perhaps the versions of GCC and GPC you are using don't coincide.
Please check the following:
gpc -c myprogram.pas
gcc myprogram.o -o myprogram
i.e. compile with GPC, but link with GCC.
Did you already check that crt0.o is in a directory where GPC can
find it? I remember some problems when I had crt0.o in the directory
/usr/lib/gcc-lib/i486-unknown-linux/2.6.3. The problems disappeared
when I moved the file to /usr/lib or /usr/local/lib.
Good luck,
Peter
e-mail: peter.gerwinski@uni-essen.de
home address: D\"usseldorfer Str. 35, 45145 Essen, Germany
WWW: http://agnes.dida.physik.uni-essen.de/~peter/
Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es