delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/28/14:04:04

From: defaultuser AT domain DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: ld.exe: [...] Too many open files in system (ENFILE)
Date: Sun, 28 Jun 1998 06:46:55 -0600
Organization: Symbios Logic
Lines: 29
Message-ID: <35963B3F.7D9042D9@domain.com>
NNTP-Posting-Host: ahadleypc.co.symbios.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Quick question, this is what I type at command prompt (brand new
installation of djgpp under MSDOS v6.22):

E:\DJGPP\WORK>gcc -o a.exe a.c
e:/djgpp/bin\ld.exe: cannot open -lgcc: Too many open files in system
(ENFILE)

E:\DJGPP\WORK>
[Trying the gcc -v option, I grabbed this from the output to attempt to
single out the command problem...]

E:\DJGPP\WORK>undelete e:/djgpp/tmp/ccdaaaaa
[undelete the temp file that gcc is working with...]

E:\DJGPP\WORK>ld -o a.exe e:/djgpp/lib/crt0.o -Le:/djgpp/lib
e:/djgpp/lib e:/djgpp/tmp\ccdaaaaa -Tdjgpp.djl -lgcc -lc -lgcc
e:/djgpp/bin\ld.exe: cannot open -lgcc: Too many open files in system
(ENFILE)

[removing the extra -lgcc parameter does not change anything.]

Any ideas on why this is failing? I searched the FAQs but couldn't find
this specific error message.
I tried this on another system with the same installation files and it
failed. I tried it in an NT command box and it worked. Pure dos is where
I fail.

-Andrew

- Raw text -


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