delorie.com/archives/browse.cgi | search |
Date: | Thu, 8 Aug 1996 08:56:01 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | "J.J. Pierson" <macleod AT onyx DOT interactive DOT net> |
Cc: | djgpp AT delorie DOT com |
Subject: | Re: linking question |
In-Reply-To: | <DvHGAq.G29@ritz.mordor.com> |
Message-Id: | <Pine.SUN.3.91.960808085347.19168C-100000@is> |
Mime-Version: | 1.0 |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |