Bill Allombert on Thu, 26 Sep 2002 18:34:31 +0200


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

Re: Configure enhancements


On Wed, Sep 25, 2002 at 01:15:07PM -0400, Igor Schein wrote:
> Hi,
> 
> I think there should be a provision in Configure to choose 32-
> or 64-bit target, if the platform allows.  Here's a summary for dual
> platforms:
> 
> 1) Solaris@sparc cc - need to specify -xarch=v9
> 2) Solaris@sparc gcc - starting with version 3.1 supports dual target - need
> to specify -m64
> 3) HPUX@hppa cc - need to specify +DA2.0w
> 4) HPUX@hppa gcc - doesn't support dual target, so autodetection works
> fine.
> 
> I don't have access to IRIX anymore, but as of 4+ years ago, one needed
> to use -64 for 64bit, -n32 for 32bit.

The simplest is to do
CC="cc -xarch=v9" ./Configure
and every will work automatically.

Trying to teach configure the option of the various compiler will not
be easy.

Cheers,
Bill.