X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KwD5WeUKfpOuK30chvHkfVSz/IeCyPzdCXfiIElvL0A=; b=Qjuo/9/dgLUL7+CjGuiw1sEAJQvdHmVXHyjFW64Oa8t+KXr0ctpxTGIbhsdHBmwJrp ti3gH2dAQUrblORG5fqqViGt/U6n+Wy9Kj1h2ZwAZNzwNyjt6RTaqVEIL+R46fPFNufl ll+ANSqKHZJcbN9Boe7EiXXRutUBVf4SSJdBjli3hzHuWV0/klyCBJWAm85ZOcu9PLnB AOZfTGr8I3VJZoNTCvEsiLF+kgWDE3yUiSvYmsdTLgUzUgUB2ORO72nm42HeltuMSezh P0fWCGWEZJ42iMC79ct0+lMh24K8V9KGxJ1Z5pjuAANYpkfzvJS86D6UjG9bO1TVSI6/ jRaQ== MIME-Version: 1.0 X-Received: by 10.58.235.129 with SMTP id um1mr12571451vec.17.1388098975623; Thu, 26 Dec 2013 15:02:55 -0800 (PST) In-Reply-To: <8E878A70F6BE4A809C4650F42EA072D2@dev.null> References: <8E878A70F6BE4A809C4650F42EA072D2 AT dev DOT null> Date: Thu, 26 Dec 2013 15:02:55 -0800 Message-ID: Subject: Re: Too many open files From: Louis Santillan To: "djgpp AT delorie DOT com" Content-Type: multipart/alternative; boundary=047d7bd6bb565af23404ee77faf9 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --047d7bd6bb565af23404ee77faf9 Content-Type: text/plain; charset=ISO-8859-1 You should always be able add to ar'chives more than once. ar rs libolz.a a*.o ar rs libolz.a b*.o ... -Louis On Thursday, December 26, 2013, Gisle Vanem wrote: > With the recent update of bintils 2.24, the ar program (dated Dec 9 2013) > is misbehaving. Comparing to what always has worked fine. In adding 137 > .o-files, it now stops at: > > e:\djgpp\bin/ar.exe: creating ../lib/libwatt.a > e:\djgpp\bin/ar.exe: djgpp/getnet.o: Too many open files (EMFILE) > > The command is as it has always been (in Watt-32): > ar rs ../lib/libwatt.a djgpp/file1.o djgpp/file2.o .. > > Incidently I have "files = 30" in my %windir\system32\config.nt under > Win-XP and the djgpp/getnet.o is the 22n'd file 'ar' is trying to add to > the ../lib/libwatt.a. > > Do I need to use a response-file now? How do I fix this? Juan, anyone? > > --gv > --047d7bd6bb565af23404ee77faf9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You should always be able add to ar'chives more than once.

ar rs libolz.a a*.o
ar rs libolz.a b*.o
...

-Loui= s

On Thursday, December 26, 2013, Gisle Vanem wrote:<= br>
With the recent update of bintils 2.24, the ar program (dated Dec 9 2013) i= s misbehaving. Comparing to what always has worked fine. In adding 137 .o-f= iles, it now stops at:

=A0e:\djgpp\bin/ar.exe: creating ../lib/libwatt.a
=A0e:\djgpp\bin/ar.exe: djgpp/getnet.o: Too many open files (EMFILE)

The command is as it has always been (in Watt-32):
ar rs ../lib/libwatt.a djgpp/file1.o djgpp/file2.o =A0..

Incidently I have "files =3D 30" in my %windir\system32\config.nt= under
Win-XP and the djgpp/getnet.o is the 22n'd file 'ar' is trying = to add to
the ../lib/libwatt.a.

Do I need to use a response-file now? How do I fix this? Juan, anyone?

--gv
--047d7bd6bb565af23404ee77faf9--