X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "deckerben" Newsgroups: comp.os.msdos.djgpp Subject: Too many open files (EMFILE) Date: Sat, 30 Mar 2002 20:33:34 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Lines: 46 Message-ID: <3ca60fec$0$12312$9b622d9e@news.freenet.de> NNTP-Posting-Host: 213.6.65.81 X-Trace: 1017516012 news.freenet.de 12312 213.6.65.81 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com To test my DJGPP installation (clio.rice.edu/Windows 2000) I decided to go ahead with one of the suggestions here and build GCC 3.0.4 myself. The djconfig.sh script ran without errors. But when I try to run "sh djmake.sh bootstrap" I eventually get the following error sequence: make.exe[1]: Entering directory `d:/Project/gcc/gnu/gcc-3.04/build.djg/gcc' d:/user/djgpp/bin/make.exe CC="gcc" libdir=/dev/env/DJDIR/lib libsubdir=/dev/env /DJDIR/lib/gcc-lib/djgpp/3.04 \ gcc_version=3.04 LANGUAGES="c " \ CFLAGS="-g " MAKEINFO="makeinfo " \ MAKEINFOFLAGS="" make.exe[2]: Entering directory `d:/Project/gcc/gnu/gcc-3.04/build.djg/gcc' gcc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- prot otypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_F ILE -o gencodes.exe \ gencodes.o rtl.o bitmap.o ggc-none.o gensupport.o hashtab.o safe-ctype.o print- rtl.o errors.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ? *) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; es ac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` d:/user/djgpp/bin/ld.exe: cannot open print-rtl.o: Too many open files (EMFILE) Now, I did a little reading on this and it is a UNIX error message saying that the environment doesn't have any more space for files. I am running DJGPP in a cmd.exe shell. Should I run MAKE in a command.com shell instead? Should I set my FILES= higher in Config.sys? Should I set NOFILES in the config.site? I have tried both without success (FILES=75; NOFILES=75). Or is there something else I still need to do? Is there a FAQ or reference about this? Thanks, Ben