Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Generating a 32-bit toolchain on a 64-bit machine
@ 2012-01-02 15:42 Thomas De Schampheleire
  2012-01-02 16:05 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas De Schampheleire @ 2012-01-02 15:42 UTC (permalink / raw)
  To: buildroot

Hi,

I would like to create a 32-bit toolchain on a 64-bit machine with
buildroot/crosstool-ng. By default, all host tools will be 64-bit.

I couldn't find a configuration option or the like for this.
I guess one way to do is it to call 'make' like this:
make HOSTCC="`which gcc` -m32" HOSTCXX="`which g++` -m32" HOSTCPP="cpp
-m32" HOSTLD="ld -m32"
but ideally there'd be a configuration for this.

In crosstool-ng I didn't find such an option either...

Thanks for your advice,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120102/ba97f067/attachment-0001.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-02 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox