* how to configure for 64bit default on ia64-hp-hpux11*
@ 2008-07-08 19:21 Michael Haubenwallner
2008-08-04 8:31 ` Michael Haubenwallner
0 siblings, 1 reply; 4+ messages in thread
From: Michael Haubenwallner @ 2008-07-08 19:21 UTC (permalink / raw)
To: gcc-help
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*
Thoughts?
Thanks!
/haubi/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to configure for 64bit default on ia64-hp-hpux11*
2008-07-08 19:21 how to configure for 64bit default on ia64-hp-hpux11* Michael Haubenwallner
@ 2008-08-04 8:31 ` Michael Haubenwallner
2008-08-05 14:31 ` Ian Lance Taylor
0 siblings, 1 reply; 4+ messages in thread
From: Michael Haubenwallner @ 2008-08-04 8:31 UTC (permalink / raw)
To: gcc-help
No response after ~1 month - please tell if wrong list (which one
instead?), thanks!
(more thoughts below)
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
Thoughts?
Thanks!
/haubi/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to configure for 64bit default on ia64-hp-hpux11*
2008-08-04 8:31 ` Michael Haubenwallner
@ 2008-08-05 14:31 ` Ian Lance Taylor
2008-08-05 20:08 ` Steve Ellcey
0 siblings, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 2008-08-05 14:31 UTC (permalink / raw)
To: Michael Haubenwallner; +Cc: gcc-help
Michael Haubenwallner <michael.haubenwallner@salomon.at> 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@gnu.org. It would also be
reasonable to bring this question up on the gcc developer's list,
gcc@gcc.gnu.org.
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to configure for 64bit default on ia64-hp-hpux11*
2008-08-05 14:31 ` Ian Lance Taylor
@ 2008-08-05 20:08 ` Steve Ellcey
0 siblings, 0 replies; 4+ messages in thread
From: Steve Ellcey @ 2008-08-05 20:08 UTC (permalink / raw)
To: gcc-help
I have responded to Michael, but I thought I should probably send
something to the list too.
The main reason for GCC on IA64 HP-UX defaulting to 32 bit mode
is because that is also the default for the HP compiler on IA64
HP-UX. I don't think I like the idea of changing the default
on GCC to be different then HP's compiler. But having a different
target name like ia64w-hp-hpux11* where the default is 64 bits
seems reasonable if it is needed.
Steve Ellcey
sje@cup.hp.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-08-05 20:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-08 19:21 how to configure for 64bit default on ia64-hp-hpux11* Michael Haubenwallner
2008-08-04 8:31 ` Michael Haubenwallner
2008-08-05 14:31 ` Ian Lance Taylor
2008-08-05 20:08 ` Steve Ellcey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).