delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/01/28/08:01:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <41FA36FD.1090809@igd.fhg.de>
Date: Fri, 28 Jan 2005 13:58:37 +0100
From: Juan Manuel Guerrero <juan DOT guerrero AT igd DOT fhg DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6) Gecko/20040113
X-Accept-Language: de-at, de, en-us, en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT gnu DOT org>, djgpp AT delorie DOT com
Subject: Re: Difficulties compiling gcc-343 on winxp
References: <41F68F1D DOT 9050205 AT igd DOT fhg DOT de> <200501260923 DOT 37148 DOT pavenis AT latnet DOT lv> <01c503d6$Blat.v2.4$8283fd60 AT zahav DOT net DOT il>
In-Reply-To: <01c503d6$Blat.v2.4$8283fd60@zahav.net.il>
X-Virus-Scanned: by amavisd-new at mailgate2.igd.fraunhofer.de

Eli Zaretskii schrieb:

>>From: Andris Pavenis <pavenis AT latnet DOT lv>
>>Date: Wed, 26 Jan 2005 09:23:37 +0200
>>Cc: djgpp AT delorie DOT com
>>
>>    
>>
>>>g:/djgpp/bin/ld.exe: min-insn-modes.o: No such file: Too many open files
>>>(EMFILE)
>>>collect2: ld returned 1 exit status
>>>make.exe[2]: *** [genconstants.exe] Error 1
>>>make.exe[2]: Leaving directory `g:/_/gnu/build.gcc/gcc'
>>>make.exe[1]: *** [stage1_build] Error 2
>>>make.exe[1]: Leaving directory `g:/_/gnu/build.gcc/gcc'
>>>make.exe: *** [bootstrap] Error 2
>>>
>>>There is enough free disk space to build the binaries (about 8GB).
>>>I have set FILES=255 but it has no influence.
>>>      
>>>
>
>Where (in what file) did you put FILES=255?
>  
>
I have set the FILES variable using "Properties", selecting the 
"Advanced" tab and clicking
the "Environment Variables" button. In the system or administrator part, 
I have added the
FILES system variable.

>Can you write a simple test program that tries to open a file again
>and again in a loop until it fails, and see how many open operations
>succeeded before the failure?
>  
>
I have installed WinXP home edition SP2 on my computer two weeks ago so 
Iam still not familiar
with it. Maybe I have brocken something during the installation. As 
suggested, I have written a
small test program that tries to open as much as possible files. I have 
compiled the program with
the tools from beta/v2gnu and a fresh compiled cvs djgpp (2005-01-25) 
from www.ludd.luth.se/~ams.
It opens 17 files starting with handle 5 and it stops with: Permision 
denied (EACCES).

If I run the same program using gdb then it starts with handle 10 and 14 
files
are opened and it stops with:  Too many open files (EMFILE).

If I run the same program on Win98SE, after having recompiled it with 
the djdev203
tools,  then the first handle is 6 and 32 files are opened. The program 
stops
with: Too many open files (EMFILE). On Win98SE I have not set the FILES 
variable
 in config.sys.

Regards,
Juan M. Guerrero

- Raw text -


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