Message-ID: <37ACF7BF.38A15481@megsinet.net> From: David Oppenheimer X-Mailer: Mozilla 4.61 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Installation problems References: <4H6r3.671$9X DOT 35301 AT dfiatx1-snr1 DOT gtei DOT net> Content-Type: multipart/alternative; boundary="------------4BE6CC53AB0EA336681CFFF9" Lines: 71 Date: Sat, 07 Aug 1999 23:21:36 -0400 NNTP-Posting-Host: 209.81.172.202 X-Trace: news.corecomm.net 934082539 209.81.172.202 (Sat, 07 Aug 1999 22:22:19 CDT) NNTP-Posting-Date: Sat, 07 Aug 1999 22:22:19 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com --------------4BE6CC53AB0EA336681CFFF9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit After unpacking the files, you need to set up a few environment variables to make sure the compiler knows where to look for important things such as standard include files, etc. Let's assume you unzipped DJGPP into c:\djgpp. Add the c:\djgpp\bin directory to your PATH variable, usually set in the AUTOEXEC.BAT file. set PATH=%PATH%;c:\djgpp\bin Set the DJGPP variable to point to the djgpp.env file. set DJGPP=c:/djgpp/djgpp.env DJGPP temporarily uses some disk space while building. set TMPDIR=c:\tempdir If your CPU does not have a math co-processor, add the following lines: set EMU387=c:\djgpp\bin\emu387.dxe set 387=n "John G. Wells" wrote: > Are there any experts that might identify the problem with the following? > After creating a DJGPP directory, downloading the zip files and unzipping > them, and creating the autoexec.bat files, I still received the message that > there was an error in installation--the environment variable DJGPP was not > defined... > > I would appreciate any advice. --------------4BE6CC53AB0EA336681CFFF9 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit After unpacking the files, you need to set up a few environment variables to make sure the compiler knows where to look for important things such as standard include files, etc. Let's assume you unzipped DJGPP into c:\djgpp.

Add the c:\djgpp\bin directory to your PATH variable, usually set in the AUTOEXEC.BAT file.

     set PATH=%PATH%;c:\djgpp\bin

Set the DJGPP variable to point to the djgpp.env file.

     set DJGPP=c:/djgpp/djgpp.env

DJGPP temporarily uses some disk space while building.

     set TMPDIR=c:\tempdir

If your CPU does not have a math co-processor, add the following lines:

     set EMU387=c:\djgpp\bin\emu387.dxe

     set 387=n

"John G. Wells" wrote:

Are there any experts that might identify the problem with the following?
After creating a DJGPP directory, downloading the zip files and unzipping
them, and creating the autoexec.bat files, I still received the message that
there was an error in installation--the environment variable DJGPP was not
defined...

I would appreciate any advice.

--------------4BE6CC53AB0EA336681CFFF9--