Re: how to configure for 64bit default on ia64-hp-hpux11*

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

 



Michael Haubenwallner <michael.haubenwallner@xxxxxxxxxx> writes:

> No response after ~1 month - please tell if wrong list (which one
> instead?), thanks!

I doubt anybody has any good ideas here.  An alternative mailing list
for this question would be config-patches@xxxxxxxx  It would also be
reasonable to bring this question up on the gcc developer's list,
gcc@xxxxxxxxxxxx



> On Tue, 2008-07-08 at 15:24 +0200, Michael Haubenwallner wrote:
>> Hi,
>> 
>> when building for ia64-hp-hpux11*, the default output type is 32bit.
>> 
>> While this is a multilib-compiler by default, I'd like to
>> --disable-multilib, and use different target triplets instead of
>> compiler flags, very similar to these ones:
>> 
>>              32bit                  64bit
>>         i?86-pc-linux-gnu     x86_64-pc-linux-gnu
>>         i386-sun-solaris2*    x86_64-sun-solaris2*
>>         sparc-sun-solaris2*   sparcv9-sun-solaris2*
>>         hppa2.0*-hp-hpux11*   hppa64-hp-hpux11*
>>         powerpc-ibm-aix5*     powerpc64-ibm-aix5*
>>         ppc-*-linux-gnu       ppc64-*-linux-gnu
>>            <none>             ia64-*-linux-gnu
>> 
>> Now, what could be the 64bit target triplet for ia64-hpux ?
>> 
>>              32bit                  64bit
>>         ia64-hp-hpux11*       ia64_64-hp-hpux11*
>> 
>> Or should 'ia64-hp-hpux11*' be changed to default to 64bit, and
>> introduce some new 'ia64_32-hp-hpux11*' instead ?
>> 
>>              32bit                  64bit
>>         ia64_32-hp-hpux11*    ia64-hp-hpux11*
>
>
> What about these names, inspired by hppa2.0n/hppa2.0w:
>         ia64-hp-hpux11*:   default 32bit, keep as-is
>         ia64n-hp-hpux11*:  default 32bit, eventually new for
>         completeness
>         ia64w-hp-hpux11*:  default 64bit, new


As far as I can tell, ia64*-hp-hpux* is the only target which supports
32-bit ia64 code at all.

I have no idea whether the default should change.  For that you should
probably ask the union of the ia64 and HP/UX maintainers.  According
to gcc's MAINTAINER files the ia64 maintainer is Jim Wilson and the
HP/UX maintainers are Dave Anglin and Steve Ellcey.  They are all
responsive.

My tentative vote would be to flip the default for ia64*-hp-hpux* to
be 64-bit to match the other ia64 targets, to give it 32-bit libraries
as multilibs, and to add a configure option --with-model={ilp32,lp64}
to set the default model.  But I don't know very much about either
ia64 or HP/UX.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux