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/