delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/29/16:21:42

Sender: nate AT cartsys DOT com
Message-ID: <3728BE60.796E997B@cartsys.com>
Date: Thu, 29 Apr 1999 13:17:36 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Linker error
References: <7ga6od$rol$1 AT nnrp1 DOT dejanews DOT com>
Reply-To: djgpp AT delorie DOT com

gs_ramsu AT my-dejanews DOT com wrote:
> 
> I just finished installing DJGPP on an i486 box running DOS. Tried to
> compile a simple "Hello, world!" program to check it out.
> 
> The command I gave was : gcc hello.c -o hello.exe -lm
> 
> The system gave me an error message saying :
> 
> c:/djgpp/bin/ld.exe: cannot open -lc: Too many open files in system
> (ENFILE)
> 
> Could someone how I can fix this?

Try putting a line in CONFIG.SYS that says "FILES=60".  If it's already
there, change it.

If that doesn't help, post again.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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