Mail Archives: djgpp/2009/01/02/11:30:48
Hi,
On Jan 2, 3:15 am, Jim Michaels <jmich DOT DOT DOT AT yahoo DOT com> wrote:
> On Jan 1, 9:14 am, Rugxulo <rugx DOT DOT DOT AT gmail DOT com> wrote:
> > On Dec 31 2008, 4:55 pm, Jim Michaels <jmich DOT DOT DOT AT yahoo DOT com> wrote:
>
> > > I was able to compile programs just fine. now I can't. I haven't
> > > changed anything. I don't know - maybe the mcafee antivirus or
> > > webroot spysweeper got a hold of something and deleted it, but
> > > that seems farfetched.
Antiviruses do seem to be fairly braindead in their heuristics / false
positives (and some too aggressive in their quarantines), but since
DJGPP.ENV is pure text, I doubt it flagged that.
> > What GCC/G++ are you using? (4.2.3? 4.3.2?) What DJDEV? (2.03? 2.04?)
> > What BinUtils? (2.16.1? 2.17? 2.19?) What OS? (MS-DOS 7.10? FreeDOS?
> > WinXP?) Are you using an LFN-aware system or not? Did you unpack on an
> > LFN-aware system? Did you upgrade any DJGPP packages to newer versions
> > recently? Is your %DJGPP% env. variable still set correctly? Did your
> > DJGPP.ENV file get modified recently?
>
> F:\DJGPP>gpp --version
> gpp.exe (GCC) 4.1.0
>
> C:\DJGPP>gpp --version
> gpp.exe (GCC) 4.2.3
>
> I think I am using 2.04 for the one on c: and 2.03 for the one on f:.
> OS: XP Pro SP3. (OS=Windows_NT) on f: (2.03) binutils 2.17.
> on c: binutils 2.17
>
> > Are you using an LFN-aware system or not? Did you unpack on an
> > LFN-aware system?
>
> That is not relevant to XP. XP does not respond to changes in the
> registry for LFN. that is for win9x. So yeah, it was probably LFN-
> aware. NT family systems mangle the long filepaths into tildes with a
> number into 8.3. I saw a microsoft KB article that says you can't
> change that.
I meant did you use an LFN-aware system and/or use an LFN-aware
unzipper. You can actually unzip for SFN even on WinXP, e.g. if you
wanted to use the same install in pure DOS or Windows. Of course,
you'd have to be using FAT32 because DOS normally doesn't understand
NTFS (without 3rd-party drivers, which I found unreliable). Actually,
Win98 and WinXP use slightly different schemes for their SFN name
generation, but that's probably not an issue here.
> tried it using command.com, same errors.
>
> gpp.exe: environment variable DJGPP points to corrupt file 'f:/djgpp/
> 2.03/v2/djg
> pp.env'
> C:\PRJ\MD5\MD5-1.0\DOS>dir f:\djgpp\2.03\v2\djgpp.env
> The system cannot find the path specified.
>
> (I do not know where to get the file from)
DJGPP.ENV is found in DJDEV204.ZIP or similar.
I'm blindly guessing that your .ENV file is missing something
important like this (although I recommend just re-unzipping the
original version instead of just adding this manually):
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/
include
Just for the record, here's the file sizes for 2.03 and 2.04 DJGPP.ENV
files:
DJDEV203.ZIP:
djgpp.env 3,592 Mar,02,2002 05:17:52p
DJDEV204.ZIP:
djgpp.env 3,764 Apr,23,2003 06:57:42a
Here's a link to the copy in CVS if you don't want to re-download the
whole DJDEV*.ZIP archive(s).
http://www.delorie.com/bin/cvsweb.cgi/djgpp/djgpp.env?rev=1.16
- Raw text -