Date: Thu, 8 Aug 1996 08:56:01 +0200 (IST) From: Eli Zaretskii To: "J.J. Pierson" Cc: djgpp AT delorie DOT com Subject: Re: linking question In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 1 Aug 1996, J.J. Pierson wrote: > "ld proto.o -lc" > > It can't find the file -lc... Don't. To link a compiled object file, just say this: gcc proto.o -o proto.exe and let gcc do the dirty job of calling ld correctly. If you are interested, add -v and gcc will print the command line it passes to ld.