From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Generating a 32-bit toolchain on a 64-bit machine
Date: Mon, 2 Jan 2012 17:05:25 +0100 [thread overview]
Message-ID: <20120102170525.79f91811@skate> (raw)
In-Reply-To: <CAAXf6LXeu+ftimzd=ydJAnwTry6BgZ4QXJ4qhUFnLWyNE3NhfQ@mail.gmail.com>
Le Mon, 2 Jan 2012 16:42:01 +0100,
Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit :
> In crosstool-ng I didn't find such an option either...
I did so with crosstool-ng. I created a Debian 32 bits chroot on my 64
bits machine and did the build in here. I had to force ABI=32 to
the ./configure script of GMP to get it to build properly, though,
since it gets confused by the fact of having a 64 bits kernel and a 32
bits userspace. My reason for using a chroot is also because I wanted
the toolchain to be built against an old version of the C library, so
as to be compatible with as many hosts as possible.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2012-01-02 16:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-02 15:42 [Buildroot] Generating a 32-bit toolchain on a 64-bit machine Thomas De Schampheleire
2012-01-02 16:05 ` Thomas Petazzoni [this message]
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=20120102170525.79f91811@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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