From: Alexander Stein <alexander.stein@systec-electronic.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Detect if x86 target is 32 or 64bit?
Date: Wed, 04 Jan 2012 15:27:46 +0100 [thread overview]
Message-ID: <2236550.JcqvJ5vtdt@ws-stein> (raw)
Hello,
how can I detect if a x86 target is 32 or 64bit? I'm working on a package rule
for gnu-efi and elilo which need to know if it should generate ia32, x86_64
(or ia64) binaries.
I just know about PTXCONF_ARCH_X86 but this does not show what I want. There
is also PTXCONF_KERNEL_ARCH_X86_64 for 64bit but this needs a linux kernel
configured. Any other ideas?
Best regards,
Alexander
--
Dipl.-Inf. Alexander Stein
SYS TEC electronic GmbH
August-Bebel-Str. 29
D-07973 Greiz
Tel: +49-3661-6279-0, Fax: +49-3661-6279-99
eMail: Alexander.Stein@systec-electronic.com
Internet: http://www.systec-electronic.com
Managing Director: Dipl.-Phys. Siegmar Schmidt
Commercial registry: Amtsgericht Jena, HRB 205563
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2012-01-04 14:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-04 14:27 Alexander Stein [this message]
2012-01-04 16:59 ` Michael Olbrich
2012-01-31 8:21 ` Alexander Stein
2012-01-31 14:12 ` Michael Olbrich
2012-02-01 12:49 ` Alexander Stein
2012-02-06 20:08 ` Michael Olbrich
2012-02-15 6:47 ` Andreas Bießmann
2012-02-15 7:30 ` Alexander Stein
2012-02-15 9:08 ` Andreas Bießmann
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=2236550.JcqvJ5vtdt@ws-stein \
--to=alexander.stein@systec-electronic.com \
--cc=ptxdist@pengutronix.de \
/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