Mail Archives: djgpp/1999/11/01/07:16:14
On 31 Oct 99, at 17:09, Ian Collyer<iehrc AT cwcom DOT net> wrote:
>
> Then when I tried to compile the file I had made (after restarting
> computer) I compiled it by making the current directory the one with
> DJGPP installed on it. and typing gcc -o dec.exe dec, which resulted in
> teh eror message;
> FATAL: ERROR IN DJGPP INSTILATION
> ENVIRONMENT VARIABLE
> DJGPP IS NOT DEFINED
Greetings Ian,
I hope you have read the README.1ST file in the djgpp folder
as it contains important instructions on setting up.
>>I then changed the autoexe.bat to include the line of code in the
The File is C:\AUTOEXEC.BAT NOT autoexe.bat( I don't know
wether this is a typo but since you have mentioned the wrong
filename twice it is unlikely). You maybe adding this lines to the
wrong file but since there were some PATH command's this also
unlikely. I am a bit confused.
>>I double clicked on the autoexe.bat a small dos window came
>>up but the first line was an error message, Both lines were put
>>after a path command
What was this error message?
Please make sure that you open the file AUTOEXEC.BAT and add
the following lines and remembering to change them to the
directory you installed DJGPP.
set DJGPP=C:\DJGPP\DJGPP.ENV
set PATH=C:\DJGPP\BIN;%PATH%
example-: if you installed to d:\djgpp the lines should be as follows
set DJGPP=D:\DJGPP\DJGPP.ENV
set PATH=D:\DJGPP\BIN;%PATH%
And after saving and rebooting try a compile and it it should work.
If this fails it really would help if you could post the contents of your
AUTOEXEC.BAT and CONFIG.SYS files and the directory name
where you installed DJGPP to.
>>It could be something with the command lines I entered, but all
>>the files downlaoded were chosen by the zip picker.
No, you have got the correct zip's.
Hope this work's!
Kalum
- Raw text -