Page 1 of 1
gcc.exe: environment variable DJGPP not defined
Posted: Sat May 31, 2003 11:00 pm
by flexs
when i try to compile, djgpp get error like a subject what is wrong
RE:gcc.exe: environment variable DJGPP not defined
Posted: Sat May 31, 2003 11:00 pm
by uri
SET DJGPP=c:/wherever you put djgpp/djgpp.env
Put the above line in your autoexec.bat. If you still get the error message, check if you have installed all neccessary DJGPP packages.
RE:gcc.exe: environment variable DJGPP not defined
Posted: Sun Aug 10, 2003 11:00 pm
by Xiled
...and as a side note, this env var is case sensitive, even in windows.
Re: gcc.exe: environment variable DJGPP not defined
Posted: Wed Feb 15, 2012 10:16 am
by KernelX
Looks like even i had the same dumb problem, got the answer.Thank you
Re: gcc.exe: environment variable DJGPP not defined
Posted: Wed Feb 15, 2012 10:18 am
by KernelX
I am getting Ascess is denined .What to do?
Re: gcc.exe: environment variable DJGPP not defined
Posted: Wed Feb 15, 2012 10:22 am
by AJ
Locked 9 year old topic - good thread necro though!
There's a topic already open about this that was posted this afternoon. Please use that topic and be more specific about the access denied error.
[edit - editing autoexec.bat has not made sense for years. Google how to set environment variables in Windows.]