Mail Archives: djgpp/2001/11/11/12:34:13
My mistake, however, when I run gcc shouldn't it say:
Fatal: Error in DJGPP instalation
Environment variable DJGPP point to file 'DJGPP=E:\My
Stuff\Software\Programming\Djgpp',
which does not exist
instead of:
Fatal: Error in DJGPP instalation
Environment variable DJGPP point to file 'D:\DJGPP\DJGPP.ENV',
which does not exist
The problem is that somehow the environment variable that gcc gets is
*different* than the one reported by the "set" command. If I run
"command.com" instead of "cmd.exe" then the DJGPP environment variable is
set to "D:\DJGPP\DJGPP.ENV" (the old one) but when I run the "set" command
gcc still gives the same message and the environment variable resets to
"D:\DJGPP\DJGPP.ENV", which is strange. I have the win2k fixes btw. I
think what's happening is that when the subprocesses are spawned (through
"command.com" and not "cmd.exe"), they are getting a set of environment
variables from somewhere which I haven't found in XP...I'll keep digging.
jeremiah
"Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk> wrote in message
news:3BEE6A2A DOT 7014BF77 AT phekda DOT freeserve DOT co DOT uk...
> Hello.
>
> Jeremiah Zanin wrote:
> > However, I type "set" and DJGPP points to:
> >
> > DJGPP=E:\My Stuff\Software\Programming\Djgpp
>
> Try instead setting it to:
>
> DJGPP=E:\My Stuff\Software\Programming\Djgpp\DJGPP.ENV
>
> You need to point at the DJGPP.ENV file, not the DJGPP directory. To use
> DJGPP on Win2k, you should use the packages with Win2k fixes mentioned by
> Andrew Cottrell in another message in this thread.
>
> HTH, bye,
>
> --
> Richard Dawe
> http://www.phekda.freeserve.co.uk/richdawe/
- Raw text -