[Buildroot] Generating a 32-bit toolchain on a 64-bit machine

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Mon Jan 2 15:42:01 UTC 2012


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>


More information about the buildroot mailing list