delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/04/20:15:29

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ENFILE error
Date: Thu, 04 Jun 1998 19:26:46 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 30
Message-ID: <35772D36.2374A25B@cs.com>
References: <6l6j3c$eo9$1 AT jetsam DOT uits DOT indiana DOT edu>
NNTP-Posting-Host: ppp142.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> 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

Increase the number of files here.  This will probably make the errors
stop.

> 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.

Most likely, Win95 on your 486 at home increases the number of available
file handles for programs running in an MS-DOS box.  (I can't imagine
Win95 working properly with only 20 available handles!)

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Always listen to experts.  They'll  |
|       aka Fighteer I       | tell you what can't be done, and why.|
|   mailto:fighteer AT cs DOT com   | Then do it."                         |
| http://www.cs.com/fighteer/|                - Lazarus Long        |
---------------------------------------------------------------------

- Raw text -


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