| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: AR error |
| Date: | Fri, 20 Oct 2006 19:05:42 +0100 |
| Message-ID: | <042501c6f472$5bc4c8b0$a501a8c0@CAM.ARTIMI.COM> |
| MIME-Version: | 1.0 |
| X-Mailer: | Microsoft Office Outlook 11 |
| In-Reply-To: | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 20 October 2006 18:57, Dave Korn wrote:
> On 20 October 2006 18:19, David L. Morgan wrote:
>> ar -ar -o /cygdrive/c/tree/dbc/lib/libendian.a endian.o
>
> ar -cr -o /cygdrive/c/tree/dbc/lib/libendian.a endian.o
>
> works for me. '-a' is a modifier, not a keyletter.
But that's not the problem. The problem is that you omitted the RELPOS
argument to '-a'. The commandline argument parsing probably got confused and
thought that libendian.a was the argument to '-a', and then thought that
endian.o was the archive name argument but of course it didn't look anything
like a .a file when it tried to read it in...
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |