X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Trace-PostClient-IP: 68.147.129.203 From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: Difficulties compiling gcc-343 on winxp Organization: Systematic Software Message-ID: 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> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 36 Date: Thu, 27 Jan 2005 02:40:51 GMT NNTP-Posting-Host: 24.71.223.147 X-Complaints-To: abuse AT shaw DOT ca X-Trace: pd7tw2no 1106793651 24.71.223.147 (Wed, 26 Jan 2005 19:40:51 MST) NNTP-Posting-Date: Wed, 26 Jan 2005 19:40:51 MST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Wed, 26 Jan 2005 20:39:27 +0200 in comp.os.msdos.djgpp, "Eli Zaretskii" wrote: >> From: Andris Pavenis >> 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? > >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? FILES=255 in C:\Windows\System32\Config.nt should work to expand the System File Table. DOS call 0x67 expands the current program's Job File Table, and is used indirectly from fopen() by __file_handle_set() in libc/dos/io/dosio.c to expand the table if required from 20 to 255. I'm not even sure if DOS/VDM requires FILES=255 if you expand the JFT. -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca) fake address use address above to reply