Mail Archives: djgpp/1996/05/21/07:35:46
On 20 May 1996, Keith F. Lynch wrote:
> produced a file test.o. But when I tried linking test.o with
> "gcc -o test.exe test.o -lm" it complains that bin/ld can't find
> crt0.o. I see that there is a file crt0.o in the lib subdirectory.
Check the following gotchas:
1) Did you remember to define the DJGPP environment variable to
point to the DJGPP.ENV file in the main DJGPP installation directory?
2) Are you careful not to put excess blanks into that environment
variable name? Make sure you have "DJGPP=c:/djgpp/djgpp.env" as opposed
to "DJGPP = c:/djgpp/djgpp.env".
3) Does your main DJGPP installation directory reside on a
networked drive? If so, that is currently a known bug in DJGPP, and the
only workaround is to copy the contrents of lib/ onto a directory on a
local drive and add that directory to the LIBRARY_PATH definition on
DJGPP.ENV.
4) Are you working under Win95? If so, set LFN=n from the DOS
command line before you run any DJGPP program.
- Raw text -