delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/15/03:19:04

Date: Mon, 15 Dec 1997 09:09:12 +0100 (MET)
From: Theuzifan <uzi AT simauria DOT upv DOT es>
To: sjl AT pl DOT jaring DOT my
cc: djgpp AT delorie DOT com
Subject: Re: Help! Newbie in trouble!
In-Reply-To: <199712150554.NAA26330@relay2.jaring.my>
Message-ID: <Pine.LNX.3.95.971215090743.6912B-100000@silvia.rec.upv.es>
MIME-Version: 1.0

On Mon, 15 Dec 1997 sjl AT pl DOT jaring DOT my wrote:

> Hi everyone! I am a perfect dunce in the C++ world and I'm just starting to
> learn the basics. Problem is, I don't even know how to link my program. I
> type the following:
> 
> gcc myfile.c -o myfile.exe -lm
> 
> And I get a message like this:
> 
> c:/djgpp/bin\ld.exe: cannot open -lm: Too many open files in system (ENFILE)
> 
> What am I doing wrong ? What shall I do? Thanks a million!! :)
> 
> Chip
> 

Try setting this in your config.sys file:
 FILES=60
Yes, it's maybe excessive, but GCC opens a lot of temp files when
compiling...


- Raw text -


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