www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <08da01bf06cc$6fd2bc40$656aadcf@qsicorp.com> |
Reply-To: | "Michael K. Elwood" <mkelwood AT qsicorp DOT com> |
From: | "Michael K. Elwood" <mkelwood AT qsicorp DOT com> |
To: | "cygwin cygwin" <cygwin AT sourceware DOT cygnus DOT com> |
References: | <NBBBLJDKHPIDCALEEHBCKEPJDBAA DOT manus AT eiffel DOT com> |
Subject: | Re: ld or gcc failing? |
Date: | Fri, 24 Sep 1999 14:36:10 -0600 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
> I have the following problem: > > I compiled many C modules, and I'm using `ld' to build a '.a' library file > and it fails with the following error: > << > rm -f Dobj3.a > ld -r -o Dobj3.a do243d.o re247d.o in245d.o bo251d.o ch249d.o po253d.o etc. etc. ar is the correct tool for creating libraries (archives). ld won't do what you want here. Don't forget to run ranlib on your library when you are done creating it (if you want it to be indexed.) Hope this helps. Best regards, MKE -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |