[Top][All Lists]

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

Re: problem getting ARFLAGS to work...

From: Ed Hartnett
Subject: Re: problem getting ARFLAGS to work...
Date: Wed, 21 May 2008 10:38:54 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Bob Friesenhahn <address@hidden> writes:

> On Wed, 21 May 2008, Ed Hartnett wrote:
>>> From the info pages on Automake:
>>   `AR' and `ARFLAGS' default to `ar' and `cru' respectively; you can
>>   override these two variables my setting them in your `',
>>   by `AC_SUBST'ing them from your `', or by defining a
>>   per-library `maude_AR' variable (*note Program and Library
>>   Variables::).
>> However, this is not working for me. Nor is setting AM_ARFLAGS, nor
>> using a per-library variable. Here's how I build this:
> We are aware of this issue.  The most fool-proof way to built 64-bit
> applications under AIX is to set the OBJECT_MODE environment variable
> to 64.  This influences the behavior of all of the AIX build tools
> with the minimum of fuss.

I have put this advice in our "known problems/workarounds" document. I
agree that using OBJECT_MODE is easier.

> AIX 'ar' does have an option where it will accept both 32 and 64 bit
> object code, but the option did not always exist so support for the
> option would need to be explicitly tested.  To intelligently select
> ar' options would require testing the built objects to see if they are
> 32 or 64 bit.

Turns out that AR_FLAGS works though.

Thanks for the help! 

Libtool 2.x is fantastic! As a library developer and maintainer I
gotta say: thanks to the libtool team! 

Libtool is what makes it possible to release free software that will
work for every scientist on the planet! Without libtool there would be
much more wailing and gnashing of teeth. (And who needs more of that?)



Ed Hartnett  -- address@hidden

reply via email to

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