This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: AR error


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]