Page 1 of 1

DJGPP ENV

Posted: Sun Mar 02, 2003 5:03 am
by nuno_silva_pt
When i try to compile with djgpp it gives me a error saying that the DJGPP environement is not defined. How can i define the environement?

Re:DJGPP ENV

Posted: Sun Mar 02, 2003 7:38 am
by richie
You have to add two things to your autoexec.bat.
First you have to add the DJGPP\BIN-path to your PATH variable.
For example it might look like mine:
Path=C:\ARJ;C:\djgpp\bin

Of course you need only the last item. (Alter it if you have installed djgpp somewhere else). The first item is only a packer I use.

The second line to add is easier. Just add this line:
SET DJGPP=c:\djgpp\DJGPP.ENV

Also here it is neccessary to alter the path to you install-dir.

I think this helps you solving this problem.