Mail Archives: djgpp/1996/01/07/06:24:02
On Sat, 6 Jan 1996, James McMillan wrote:
> I just downloaded djgpp went through installing everything, and then made up s
> test source code to see if everything was right.
> But when I try to copile it with gcc I get:
> ld.exe: -lgcc not found
>
> what is this? How can I fix this?
The linker needs the library called libgcc.a, but cannot find it.
> Also when I try to #include files like stdio.h I get an error message it could not be
> found How do I set the directory?
Seems that DJGPP cannot find its configuration file. Did you set the
DJGPP environment variable? If you type `set' from the DOS prompt and
press [Enter], you should see something like this:
DJGPP=c:/djgpp/djgpp.env
(but in your case, make sure the correct path of DJGPP.ENV file is
mentioned). If this is not the case, set the environment variable and
try again.
- Raw text -