delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/08/24/04:06:35

Date: Mon, 24 Aug 1998 11:01:23 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp-workers AT delorie DOT com
Subject: Re: One notes about DJGPP.ENV from DJDEV202.ZIP
In-Reply-To: <Pine.SUN.3.91.980823165351.1451Q-100000@is>
Message-ID: <Pine.A32.3.91.980824105855.39966A-100000@ieva01.lanet.lv>
MIME-Version: 1.0


On Sun, 23 Aug 1998, Eli Zaretskii wrote:

> 
> On Wed, 19 Aug 1998, Andris Pavenis wrote:
> 
> > If I specify COMPILER_PATH to look in $DJDIR/bin then option
> > -isystem $DJDIR/bin/include is added to cpp command line
> > and cpp terminates with message (only with LFN=N)
> > 
> > c:/djgpp/bin/include/.: Too many open files in system (ENFILE)
> 
> I think this is due to a typo in src/libc/dos/errno/doserr2e.c (my
> fault): it maps error 12h to ENFILE instead of ENMFILE.  `stat' knows
> that when it gets ENMFILE from `findfirst', it should return ENOENT,
> but ENFILE breaks that.  I think if you correct doserr2e.c and rebuild
> against a fixed libc.a, the problem will go away.
> 
> Sorry about that, but getting that monstrous table in doserr2e.c right
> was a bitch, and similar mnemonics such as ENFILE/ENMFILE don't make
> it easier, either.
> 

Thanks. It really fixes the problem. Anyway COMPILER_PATH is NOT needed
for latest updated of DJGPP port of gcc-2.8.1 and will not needed for
egcs-1.1 when it will be out. So only situation when such environment 
variable is usefull is with gcc-2.7.2.1

Andris


- Raw text -


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