X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Sun, 31 Mar 2002 07:35:48 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: P S cc: djgpp AT delorie DOT com Subject: Re: lgcc error with DJGPP on Windows 2000 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 29 Mar 2002, P S wrote: > I'm running DJGPP on Windows 2000. I have downloaded the latest patches from > Simtel and used unzip32 to unzip the files. The environment variables are > set properly (DJGPP=D:\DJGPP\DJGPP.ENV). > > Here's the version information: > >>>>>> > D:\MyCode\mycpp>gcc --version > 2.953 > <<<<<< > > Whenever I use gxx to compile my C++ programs I get a 'cannot find -lgcc' > error. > > So I tried with gcc and the strange thing is that if I just compile one > source it works fine. If I try to add another source file (with a dummy > routine) I get the lgcc error! One possibility is that GCC runs out of free file handles. See section 8.2 of the DJGPP FAQ, and the section it points to for solutions.