DJGPP not working
DJGPP not working
Everytime i try to compile my code in DOS it gives me an error that it has an invalid path to the djgpp.env. I use windows XP and i tried everything i could find on this problem.
System Properties -> Advanced -> Enviroment Variables .
makes sure that in the table - User Varables for %user%
there is an entry named DJGPP and it links directly to the djgpp.env file provided in the djgpp package.
makes sure that in the table - User Varables for %user%
there is an entry named DJGPP and it links directly to the djgpp.env file provided in the djgpp package.
Website: https://joscor.com
You can always choose not to edit the envioronment variables and run it as a batch file.
Put this in your DJGPP directory...
...and save as DJGPP.bat or whatever.bat
Then just double click to run and compile as usual.
Put this in your DJGPP directory...
Code: Select all
@echo off
set PATH=c:\DJGPP\bin;%PATH%
set DJGPP=c:\DJGPP\djgpp.env
chdir c:\DJGPP\myStuff (or whatever directory you want)
command
Then just double click to run and compile as usual.