delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/04/13:02:18

From: mteagard AT indiana DOT edu (Mark Alan Teagarden)
Newsgroups: comp.os.msdos.djgpp
Subject: ENFILE error
Date: 4 Jun 1998 16:47:40 GMT
Organization: Indiana University, Bloomington
Lines: 35
Message-ID: <6l6j3c$eo9$1@jetsam.uits.indiana.edu>
NNTP-Posting-Host: ezinfo.ucs.indiana.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hey all, I'd appreciate your help in getting DJGPP installed on a 
computer I have at work, it's already taken me three days and it still 
doesn't work.

The problem I have now comes when I try to compile the following program:

#include <iostream.h>

void main()
{
  cout << "Hello, World!" << endl;
}

The error I get says:

Error: iostream.h : Too many open files in system (ENFILE)

What the hell does this mean?  This is the only program I am running.

Hard / Soft specs:
486-33 running MS-DOS 6.0
8 M RAM
config.sys has file=20
autoexec.bat is configured correctly
I use gcc/gpp 2.80 with RHIDE.
I have the exact same setup on my 486 / Win 95 at home, and it runs just 
fine, I have never had these problems compiling, or not recognizing C++ 
code, or any of it.  I am sick and damn tired of trying to make this 
thing work only to get shot down again.
The Mail archive was not working when I discovered this problem, and the 
faq didn't list this problem, so I come to you, hat in hand.  Please 
help, I have to get this program working so I can write some apps for work.

TIA,
Mark

- Raw text -


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