On 19 Feb 2003 at 16:36, David Hajoglou wrote:
To Whom It May Concern,
I tried to locate any FAQ/manual information about the error I get but did not find any information. I installed MinGW and GNU Pascal on a windows machine and I can compile a program into an object file but I cannot go any further. When using gpcc the linker (ld.exe) fails with the following error:
========================== c:\MinGW\bin\gpcc test.p GPCC (Win32 (Mingw) build), v2.18: BP-compatibility shell for GNU Pascal. (c) 11th May 2002, Prof. A Olowofoyeku (The African Chief).
Compiling PROGRAM "test.p" ... CFG file = c:\mingw\bin\gpcc.cfg Args = [gpc --automake -s --no-typed-address --extended-syntax --ignore-function-results --no-io-checking --no-stack-checking -O2 -march=i486 -mcpu=i486 -O2 -mcpu=i686 --executable-file-name test.p]
\mingw\lib\gcc-lib\mingw32\2.95.3-6........\mingw32\bin\ld.exe: cannot find -lgcc ==========================
This is a gcc installation problem. The file that cannot be found is the relevant "libgcc.a". You needed to have installed gcc-2.95.3-6 (Mingw special), which is the gcc version that that GPC released was based on. Unfortunately, that gcc release seems to have been removed from the Mingw web site. So you either need to get it by installing the old Mingw 1.1 package: http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz?download
or I can put a copy of the relevant "libgcc.a" on the Mingw (or GPC) we pages.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/