From: Ben Peddell User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc.exe: environment variable DJGPP points to corrupt file 'DJGPP=C:\DJGPP.ENV' References: <264d4cb6 DOT 0305121258 DOT 5e7d80e5 AT posting DOT google DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 28 Message-ID: Date: Tue, 13 May 2003 23:56:39 +1000 NNTP-Posting-Host: 144.139.176.39 X-Trace: newsfeeds.bigpond.com 1052833498 144.139.176.39 (Tue, 13 May 2003 23:44:58 EST) NNTP-Posting-Date: Tue, 13 May 2003 23:44:58 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Mike Butler wrote: > I'm trying to install DJGPP on my W2K box. When I try to test the > installation by running gcc on a test file, I get the following error > message: gcc.exe: environment variable DJGPP points to corrupt file > 'DJGPP=C:\DJGPP.ENV' > > When I do a SET command, it shows that my DJGPP environment variable > is set to the following: > djgpp=DJGPP=C:\DJGPP\DJGPP.ENV Here is your problem. It should only be: DJGPP=C:\DJGPP\DJGPP.ENV > > My path statement is: Path=C:\djgpp\bin;C:\Program Files\Microsoft > Visual Studio\Common\Tools\WinNT; etc. This should be fine. > > Any help would be appreciated. > > Thanks, > > - Mike >