www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/11/16:01:50

From: "Jeremiah Zanin" <jzanin AT cs DOT unm DOT edu>
Newsgroups: comp.os.msdos.djgpp
References: <%opH7.14434$4W DOT 127518 AT typhoon DOT mw DOT mediaone DOT net>
Subject: Re: DJGPP environment variable and windows XP (I'm sorry...)
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <7kBH7.1334$oM5.115256@typhoon.mw.mediaone.net>
Date: Sun, 11 Nov 2001 20:37:23 GMT
NNTP-Posting-Host: 66.41.121.91
X-Complaints-To: abuse AT mediaone DOT net
X-Trace: typhoon.mw.mediaone.net 1005511043 66.41.121.91 (Sun, 11 Nov 2001 15:37:23 EST)
NNTP-Posting-Date: Sun, 11 Nov 2001 15:37:23 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

OK, I found it.  Sheesh...

There's "AUTOEXEC.NT" and "CONFIG.NT" in the system32 directory which, I
guess, get used when command.com is run (or an msdos app??).  I think this
is how it works: Environment variables are first inherited from the system,
then AUTOEXEC.NT is run and the environment variables are overwritten with
the ones in AUTOEXEC.NT.

"Jeremiah Zanin" <jzanin AT cs DOT unm DOT edu> wrote in message
news:%opH7.14434$4W DOT 127518 AT typhoon DOT mw DOT mediaone DOT net...
> I'm sure this question has been asked many times, but I didn't find my
exact
> problem in the archives.  Ok, I started using Djgpp way back when but
> haven't touched in a long time.  Now I have XP and I'm aware of the
> issues....but when I run gcc it says:
>
> C:\>gcc
> Fatal:  Error in DJGPP instalation
>         Environment variable DJGPP point to file 'D:\DJGPP\DJGPP.ENV',
>         which does not exist
>
> However, I type "set" and DJGPP points to:
>
> DJGPP=E:\My Stuff\Software\Programming\Djgpp
>
> My old installation was in D:\DJGPP, but I renamed that directory.  I
REM'd
> out my autoexec.bat and set the environment variable through the advanced
> system properties (and restarted my computer numerous times).  Now where
in
> the heck is it finding the DJGPP environment variable???  I also searched
> through the registry and all my drives so see if it was getting set some
> other way.....I'm stumped, how can the DJGPP environment variable still
> point to the old place eventhough "set" says it points to the correct one?
>
> Thanks.
>
> Jeremiah Zanin
>
>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019