delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/31/16:30:11

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "deckerben" <deckerben AT freenet DOT de>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020331081420 DOT 14188K-100000 AT is>
Subject: Re: Too many open files (EMFILE)
Date: Sun, 31 Mar 2002 23:44:20 +0200
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: 84
Message-ID: <3ca77f61$0$348$9b622d9e@news.freenet.de>
NNTP-Posting-Host: 213.6.62.33
X-Trace: 1017610081 news.freenet.de 348 213.6.62.33
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

> At last, the correct question ;-)
>
> Please see section 9.7 of the DJGPP FAQ list for information about this.
> I hope it is still valid for W2K.



Thanks for the refernce.

from that I could gather, I needed to set the following configuration in my
system.ini [386enh]:

PerVMFiles=255

I also upgraded FILES to 255 in my config.sys.
I then rebooted the machine. Unfortuantely, it did not completely solve the
problem. But it was the right direction!
I did more research.

I found that I had to change also my C:\WINNT\SYSTEM32\config.nt to echo the
same parameters:
FILES=255
This made the real difference!

A ton of files started getting compiled... then it came to the following
sequence and quit:

<output>
d:/user/djgpp/bin/make.exe TARGETS=twoprocess
SHELL="d:/user/djgpp/bin/sh.exe" C
C="gcc"
CFLAGS=" -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmiss
ing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENE
RATO
R_FILE -DSEPARATE_FIX_PROC" LDFLAGS="" install-bin
make.exe[3]: Entering directory
`d:/Project/gcc/gnu/gcc-3.04/build.djg/gcc/fixin
c'
d:/user/djgpp/bin/sh.exe ../../../gcc/fixinc/genfixes machname.h
-uDas System kann die angegebene Datei nicht finden.
gcc -c -DIN_GCC -DHAVE_CONFIG_H -DIN_GCC -g -W -Wall -Wwrite-strings -Wstric
t-pr
ototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_
CONF
IG_H -DGENERATOR_FILE -DSEPARATE_FIX_PROC  -W -Wall -Wwrite-strings -Wstrict
-pro
totypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -I. -I..
 -I.
./../../gcc/fixinc -I../../../gcc/fixinc/.. -I../../../gcc/fixinc/../config 
-I..
/../../gcc/fixinc/../../include ../../../gcc/fixinc/fixincl.c
In file included from ../../../gcc/fixinc/fixincl.c:24:
../../../gcc/fixinc/fixlib.h:34:22: machname.h: No such file or directory
(ENOEN
T)
...

</output>

I looked at the script "..gcc/fixinc/genfixes" ...and saw that it called for
AUTOGEN. I looked for AUTOGEN but only found source code.

I downloaded the source code for AUTOGEN.

./configure for autogen stopped dead, telling me I needed GUILE.

I downloaded source code for GUILE.

:/configure for GUILE ran successfully, but the make script quit when it saw
that it wasn't on a UNIX system, and therefore would never see a file named
"and-let*.scm" and would never be able to create links to shared libraries.

Grrrr....
Does this mean I failed the "make your own GCC 3.0.4" test?

Ben








- Raw text -


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