Page 1 of 1
DJGPP not working
Posted: Sun Aug 05, 2007 1:16 pm
by bgpros6
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.
Posted: Sun Aug 05, 2007 1:32 pm
by 01000101
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.
Posted: Sun Aug 05, 2007 2:30 pm
by bgpros6
Hey thanks a WATT !! It started working agian so i can continue my project.. Thanks Agian!!!!!!!!!!
Posted: Sun Aug 05, 2007 3:38 pm
by 01000101
=)
no prob.
Posted: Wed Aug 08, 2007 3:38 pm
by eboyd
You can always choose not to edit the envioronment variables and run it as a batch file.
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
...and save as DJGPP.bat or whatever.bat
Then just double click to run and compile as usual.