Mail Archives: djgpp/2001/03/15/06:26:05
On Thu, 15 Mar 2001, Matteo wrote:
> Eli Zaretskii wrote:
> >
> > On Mon, 12 Mar 2001, Matteo wrote:
> >
> > > DJGPP=C:\djgpp\djgpp.env
> >
> > This looks okay.
> >
> > What happens if you type SET after shelling to DOS from inside RHIDE?
> > Is there a line which begins with "DJDIR=" there, and if so, what does it
> > say?
>
> There isn't DJDIR
> the SET output from inside RHIDE is:
This seems to indicate that RHIDE doesn't read the djgpp.env file at
all. DJDIR is computed by the startup code of every DJGPP application,
but to do that, the startup code reads djgpp.env. In your case, it looks
like djgpp.env was not found or couldn't be open, for some reason.
What does "dir /x c:\djgpp" print on this system?
> PATH=F:\WINNT;F:\WINNT\System32\Wbem;F:\jdk
This is wrong: the DJGPP's bin subdirectory is not in PATH. How did that
happen?
> > > Path=F:\WINNT;F:\WINNT\System32\Wbem;F:\jdk1.3\bin;F:\PROGRA~1\ULTRAE~1;F:\programmi\apache;F:\BAT;C:\djgpp\bin;F:\Programmi\jakarta-tomcat\webapps\ROOT;C:\djgpp\bin;C:\DJGPP\BIN;C:\PROGRA~1\WIN98RK;D:\ULTRAE~1;C:\DJGPP\BIN;C:\jdk1.3\bin;C:\ibmjs\lib;C:\jdk1.3\bin;C:\Documenti\nest;C:\ibmjs\lib
> >
> > Why does this line have so many instances of C:\DJGPP\bin?
>
> Because, to be sure, i've put the environment settings both in
> "administrator" profile and
> in "system" profile (I think it's not elegant but doesn't hurts)
Too long value of PATH _could_ hurt in some cases. But those cases are
rare and in any case I don't see how is this relevant to your main
problem. The main problem is that, somehow, djgpp.env is not processed
by DJGPP programs, at least by RHIDE.
Can you compile from the command prompt, by invoking gcc directly?
- Raw text -