Hi!
I'm trying to install the binary package gpc-19990607-djgpp.zip and after uncompressing it into my djgpp directory I got the following while trying to compile: ************** C:\Ariel>gpc test.pas c:\utils\gcc\bin\ld.exe: cannot open -lgcc: No such file or directory (ENOENT) *************** I've read on the list an e-mail with a similar problem, but I do have installed gcc (version 2.95), and still get the same error.
By the way, the test.pas is as simple as: *************** program test; begin writeln('test'); end. ***************
Thank you, Ariel.
--- Ariel Bendersky bender@einstein.com.ar ICQ 1914963
Ariel Bendersky wrote:
I'm trying to install the binary package gpc-19990607-djgpp.zip and after uncompressing it into my djgpp directory I got the following while trying to compile:
C:\Ariel>gpc test.pas c:\utils\gcc\bin\ld.exe: cannot open -lgcc: No such file or directory (ENOENT)
I've read on the list an e-mail with a similar problem, but I do have installed gcc (version 2.95), and still get the same error.
Yes, the problem lies in the versions of GPC and GCC that do not coincide, so GPC cannot find `libgcc.a', `cc1' and other files belonging to GCC.
To work around you can copy these files from /utils/gcc/lib/gcc-lib/<platform>/<version of GCC>/ to /utils/gcc/lib/gcc-lib/<platform>/<version of GPC>/ .
The correct solution will be to install a GPC that works with your installed version of GCC - once this is ready.
Working on making this happen,
Peter