This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building 32-bit ARM toolchain on 64-bit host


Le Tue, 31 Jul 2012 18:15:15 +0200,
Florian Fainelli <f.fainelli@gmail.com> a Ãcrit :

> On Tuesday 31 July 2012 12:07:01 Peter Barada wrote:
> > I dunno if this is possible out of the box, but can I (easily) build (on
> > a x86-64) an ARM toolchain that will run on a 32-bit x86 linux machine? 
> > I'm sure this is getting close to a canadian-cross, but it should be
> > doable w/o since the 32-bit toolchain can run on the 64-bit host
> > building it...
> 
> Technically, yes this is a canadian toolchain setup. Since you are building on 
> a 64-bits host, the easiest way to go through might be to install a 32-bits 
> chroot. Depending on your distribution (with deb-based its easy to use 
> debootstrap) you just need to do the following: sudo linux32 chroot 
> /path/to/chroot /path/to/shell and there you go.

Agreed, that's what I'm doing to build toolchains for 32 bits machine
from a x86-64 box. The chroot idea is definitely the easiest one.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]