Mail Archives: djgpp/1996/08/25/02:23:57
On Sat, 24 Aug 1996, Kenneth D. Moad wrote:
> when I try to compile the program tells me that it cannot find includes
> that are definetlly there. I think it isn't configured to search the
> correct directories. Can anyon tell me how to make it search the right
> path? Right now it searches /usr/local/bin and such but I am on a pc
> machine!
The most probable cause of this is that you didn't set the DJGPP
environment variable correctly. Type the following from the DOS prompt:
set DJGPP=c:/djgpp/djgpp.env
(If on your machine DJGPP is installed in a directory other than
C:\DJGPP, change the above accordingly.) If that makes your problems go
away, add the above line to your AUTOEXEC.BAT and live happily ever after.
Btw, this is all described in the ``Getting started'' section of the
`readme.1st' file. I suggest you read that file.
If the above doesn't help, you might have other problems. Please add -v
to the gcc command line and post everything that it prints, so the cause
of your problem could be correctly identified.
- Raw text -