Hi chief. I carried out all your instructions. Downloaded MinGW-1.1.tar. I got a bit further but now I have a new problem. When I 'GPC *.pas -o *.exe ' I get 'ld: cannot find -lgpc' and when I do the GPC.EXE --verbose I get the following:-
C:>gpc.exe --verbose Using builtin specs. gpc version 19990118, based on egcs-2.91.60 19981201 (egcs-1.1.1 release) ld \lib\crt1.o -L\mingw32\lib -lgpc -lcrtdll -lmingw32 -lgcc -lmoldname -lcrtdl l -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lcrtdll ld: cannot find -lgpc
C:>
My autoexec.bat Path is pointing at all the directories Any help would be appreciated. Regards Ger.
african_chief@bigfoot.com wrote:
< < BTW: you can get the full Mingw release from this URL: < http://sourceforge.net/project/showfiles.php?group_id=2435 < < < Best regards, The Chief < --------- < Prof. Abimbola Olowofoyeku (The African Chief) < Email: African_Chief@bigfoot.com < http://www.bigfoot.com/~african_chief/ <
On 30 Jan 02, at 23:23, gerdunne@eircom.net wrote:
Hi chief. I carried out all your instructions. Downloaded MinGW-1.1.tar. I got a bit further but now I have a new problem. When I 'GPC *.pas -o *.exe ' I get 'ld: cannot find -lgpc' and when I do the GPC.EXE --verbose I get the following:-
C:>gpc.exe --verbose Using builtin specs. gpc version 19990118, based on egcs-2.91.60 19981201 (egcs-1.1.1 release) ld \lib\crt1.o -L\mingw32\lib -lgpc -lcrtdll -lmingw32 -lgcc -lmoldname -lcrtdl l -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lcrtdll ld: cannot find -lgpc
That is still an "installation" problem - and it is easy to fix it. First thing however - you have a very old version of GPC - more than 3 years old in fact. In GPC terms, that is like centuries. You should get a recent version from here: ftp://agnes.dida.physik.uni-essen.de/home/chief/win32/mingw32/ (the most recent is gpc-20011230-mingw32.tar.gz) If you don't have a "tar" utility, you can use WinZip to unpack it (into the root directory of a drive, making sure that the subdirectory structure is reproduced). Then make sure that its "bin" directory is in your PATH. That should be sufficient.
If you still have problems with files that cannot be found, then try reading up on these environment variables, in order of importance, for your purposes: LIBRARY_PATH GPC_EXEC_PREFIX C_INCLUDE_PATH GCC_EXEC_PREFIX
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~African_Chief email: African_Chief@bigfoot.com