From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
To: gdb-patches@sources.redhat.com
Cc: randolph@tausq.org, brobecker@gnat.com
Subject: Re: [patch/rfa] Signal trampoline unwinder for hppa-hpux
Date: Sat, 22 May 2004 18:30:00 -0000 [thread overview]
Message-ID: <200405221830.i4MIUJ6s001692@hiauly1.hia.nrc.ca> (raw)
> > How can you tell whether a kernel is 32bits or not?
>
> Just FYI, I just found the answer to my question:
>
> % getconf KERNEL_BITS
> Will tell you which kernel you are running (32/64).
>
> Check the getconf and sysconf man pages... We run a 64bit kernel.
This only works under hpux 11. See config.guess. It sets the machine
string to the following:
hppa2.0n 32-bit host kernel
hppa2.0w 64-bit host kernel
hppa2.0 HP-UX 10.20 host kernel
I believe that 10.20 only supported narrow PA 2.0 kernels. So, I am
not sure that the distinction between hppa2.0 and hppa2.0n is useful.
If config.guess finds a 64-bit kernel, it checks CC to see if it
generates code for the 64-bit runtime and sets the machine string
to hppa64 if it does.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
next reply other threads:[~2004-05-22 18:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-22 18:30 John David Anglin [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-05-20 4:17 Randolph Chung
2004-05-20 20:46 ` Joel Brobecker
2004-05-20 20:53 ` Randolph Chung
2004-05-20 22:36 ` Joel Brobecker
2004-05-20 23:33 ` Joel Brobecker
2004-05-21 17:41 ` Andrew Cagney
2004-05-21 18:39 ` Randolph Chung
2004-05-22 1:58 ` Randolph Chung
2004-05-23 0:29 ` Randolph Chung
2004-05-24 17:38 ` Andrew Cagney
2004-05-26 5:36 ` Randolph Chung
2004-05-26 13:20 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200405221830.i4MIUJ6s001692@hiauly1.hia.nrc.ca \
--to=dave@hiauly1.hia.nrc.ca \
--cc=brobecker@gnat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=randolph@tausq.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox