libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH (libtool): Improper libgcj.a construction with modern GNU ar


From: Boehne, Robert
Subject: Re: PATCH (libtool): Improper libgcj.a construction with modern GNU ar
Date: Fri, 03 May 2002 16:41:17 -0500

Loren,

Actually, you're not the first to complain about this,
but no patch was provided.  ;^)
I'm going to check this change in to CVS Libtool after
changing it to alter ltmain.in.

Thanks,

Robert

Loren James Rittle wrote:
> 
> In article <address@hidden>,
> "Boehne, Robert" <address@hidden> writes:
> 
> > The discussion of the problem seems to suggest that the
> > fix is to check for GNU ar, and add 'P', your patch
> > does somthing else.  Would you explain why?
> 
> > http://gcc.gnu.org/ml/java/2002-04/msg00338.html
> 
> > "When it is seen to be GNU ar, ``P'' must be added to AR_FLAGS"
> 
> [Yes, that was my original ill advice before I did required research.]
> 
> > I think I know the reason, but I like to make sure.
> 
> The reasons are (a) that binutils ar 2.10+ is documented to only honor
> the P flag for extraction (the workaround I originally suggested to
> use P was seen to work in practice but the documentation doesn't back
> up the use); (b) P is not a POSIX compatible flag whereas q (insert,
> without replacement) is both POSIX [1] and classic UNIX [2] ar compatible.
> 
> [1] http://www.opengroup.org/onlinepubs/007908799/xcu/ar.html
> [2] http://cm.bell-labs.com/7thEdMan/
> 
> Regards,
> Loren

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  rboehne AT ricardo-us DOT com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]