Date: Wed, 10 Jul 1996 09:04:47 +0800 (GMT) From: Orlando Andico To: Amy Williams cc: djgpp AT delorie DOT com Subject: Re: Problem with v2 of djgpp In-Reply-To: <199607091946.NAA13275@mailhub.aros.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 9 Jul 1996, Amy Williams wrote: > Hi, > > I tried to run gcc and got this error: > ld.exe: cannot open -lgcc: No such file or directory (ENOENT) > > I had done this command: > gcc -o output hello.c > > I am using version 2 of DJGPP. > > Does anyone know how I can fix this problem? The compiler can't find the libgcc.a file. While (I quote the gcc(1) man page) "libgcc.a is not needed on most systems" the fact that your compiler can't find it points to a misconfiguration problem. So: read the FAQ, check your DJGPP environment variable, make sure your DJGPP config file is pointing to the right places, or, if that doesn't work, type gcc -v -o output hello.c and post the *entire* output of the compiler; it's directed to stderr so you really should use redir.. for which you really should read the FAQ. I suppose I'm just repeating myself.. :) Cheers, Orly.