DJGPP ENV

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
nuno_silva_pt

DJGPP ENV

Post 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?
richie

Re:DJGPP ENV

Post 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.
Post Reply