From: "Kris Warkentin" <kewarken@qnx.com>
To: <gdb@sources.redhat.com>
Subject: How to know which processor I'm targetting at runtime
Date: Tue, 11 Feb 2003 20:05:00 -0000 [thread overview]
Message-ID: <034301c2d208$ec67eb80$0202040a@catdog> (raw)
I have some ugly code that relies on a define from one of our
config/arch/tm*.h files. Essentially we're just doing:
#define SOLIB_PROCESSOR [x86|mips|arm....]
so that we can do some setup elsewhere. Is there a nice way to get which
architecture I'm running at runtime? I'd like to get rid of our tm files if
possible.
cheers,
Kris
next reply other threads:[~2003-02-11 20:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-11 20:05 Kris Warkentin [this message]
2003-02-14 13:46 ` Andrew Cagney
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='034301c2d208$ec67eb80$0202040a@catdog' \
--to=kewarken@qnx.com \
--cc=gdb@sources.redhat.com \
/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