Mail Archives: djgpp/1996/03/17/01:06:18
> From: David Rieken <rieken AT ifp DOT uiuc DOT edu>
> Subject: setting environment variables
> Date: 16 Mar 1996 18:38:49 GMT
> Organization: University of Illinois at Urbana
> To: djgpp AT delorie DOT com
> I recently installed djgpp on my pc. Carefully following the
> instructions in README.1ST, i added the following line to my
> autoexec.bat:
>
> set djgpp=c:\djgpp\djgpp.env
>
> After trying to compile a program, I then get an error message to
> the effect that my include files are not found. If I use the set
> command at the dos prompt i get a list of all environment variables
> and their settings. DJGPP = c:\djgpp\djgpp.env is the only variable
> relevant to gcc. This doesnt seem right.
>
> Obviously I've missed a step somewhere. Could someone with a high
> tolerance for idiots please fill me in?
>
> Thanks
> -david rieken
> rieken AT ifp DOT uiuc DOT edu
>
You need to put in a "call setdjgpp c:\djgpp c:/djgpp" into your
autoexec.bat. This sets the enviornment variables. Use whatever
directory your base djgpp directory is in.
John Fortin
- Raw text -