delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/08/19/06:33:48

Message-ID: <B0000040107@stargate.astr.lu.lv>
From: "Andris Pavenis" <pavenis AT lanet DOT lv>
To: djgpp-workers AT delorie DOT com
Date: Wed, 19 Aug 1998 13:31:53 +0300
MIME-Version: 1.0
Subject: One notes about DJGPP.ENV from DJDEV202.ZIP

Hi!

I have one note about file DJGPP.ENV supplied in djdev202.zip:

Specifying COMPILER_PATH that contains $DJDIR/bin is NOT 
required for latest updates of gcc-2.8.1 for DJGPP as I added
definition 

#define MD_EXEC_PREFIX "$DJDIR/bin/"

that provides searching $DJDIR/bin before looking in current 
directory and in DOS path (unless one overrides target with option 
-b when invoking gcc, which is rather unlikely for DJGPP)

I have the same support in egcs-2.91.53.

There were no problems with redundant COMPILER_PATH with 
gcc-2.8.1 build using djdev201. I had some problems with 
egcs-2.91.53 built using djdev202:

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)

Tracking DOS calls gave 2 places where this directory were 
mentioned. 

13:19:48 30e4 4e FCB2:2FF5 findfirst("c:/djgpp/bin/include",           
     0x37[ad-shr]) = Error (No more files)
13:19:48 30e4 4e FCB2:2FF5 findfirst("c:/djgpp/bin/include", 
     0x8[--v---]) = Error (No more files)

So it looks that here is some problem with djdev202 (perhaps 
incorrectly interpretted result of findfirst or some related function). 
However I didn't have time to debug it. With LFN=Y there were no 
problems.


Andris

- Raw text -


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