Re: linux32 personality & config.guess

"John David Anglin" <[email protected]> Thu, 6 Sep 2007 16:33:00 -0400 (EDT)
Newsgroups gmane.linux.ports.hppa,gmane.linux.debian.ports.hppa
Message-ID <[email protected]>
> Seems you misunderstood jda's above comment. We do not have a 64bit
> userland on hppa. the 'hppa64' part of the target string represents
> the architecture of the /kernel/. 64bit kernels run a 32bit userland,
> hence hppa64-linux should be treated (so far) as hppa-linux.

No, the architecture portion of the string in the PA case doesn't
simply represent the architecture of the kernel.  In the hpux case,
hppa2.0w and hppa64 both indicate a wide PA 2.0 kernel.  As noted
in the previous message, config.guess selects between the two based
on the setting of CC.

This has arisen on the PA since we have separate 32 and 64 bit tools.
In other architectures, a compiler flag is used to select the output
architecture.

Although we don't have a 64-bit userland in linux, we do have 64-bit
compilation tools for kernel generation.  To build these, you need
to specify a hppa64-linux target.  For this reason, we don't treat
hppa64-linux as equivalent to hppa-linux.

Dave
-- 
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)