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 -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: ftp://ftp.gerwinski.de/pub/keys/ - AntiSpam: http://spam.abuse.net