Date: Mon, 15 Dec 1997 09:09:12 +0100 (MET) From: Theuzifan 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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...