From: "Kalum Somaratna aka Grendel" To: djgpp AT delorie DOT com Date: Mon, 1 Nov 1999 16:42:15 +0600 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: (no subject) Cc: iehrc AT cwcom DOT net In-reply-to: <381C77E0.9C341B6D@cwcom.net> X-mailer: Pegasus Mail for Win32 (v3.12) Message-Id: <19991101104228.A9661639DC@zagnut.hotpop.com> X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 31 Oct 99, at 17:09, Ian Collyer 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