Mail Archives: djgpp/1995/10/15/05:56:40
On 12 Oct 1995, Elmar Vogt wrote:
> I followed the magic line recommended by DJ for installation:
>
> set DJGPP=C:\DJGPP\DJGPP.ENV
>
> and, you guessed it, nothing works: I can get the compiler running,
> but whether I use a Makefile or launch it manually, it is unable to
> find _anything_: Neither header-files nor libraries...
Is your DJGPP installation indeed rooted on C:\DJGPP? If so, try making
the slashes to be forward slashes:
set DJGPP=C:/DJGPP/DJGPP.ENV
If this doesn't help either, post the contents of your DJGPP.ENV file.
Also check that you have at least 1500 bytes of environment free.
> And, by the way, could some kind soul explain to me the way DJGPP.ENV
> works? I've been browsing through DOS and UNIX-manuals, but could come
> up with nothing.
The start-up code reads that file and inserts its contents into the
environment of the program, as if you did it with SET command from the
DOS prompt. It puts the variables selectively, so a given program only
gets the variables listed under its section (e.g., gcc only gets the
variables listed in the [gcc] section) in addition to the variables in
the common section.
- Raw text -