Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Kumba <kumba@g.o>
Subject: Re: Multiplatform compile
Date: Fri, 16 Jan 2004 20:05:43 -0500
Chris PeBenito wrote:

> Well for the compiling at least, you just have to put the compiler in
> the path:
> 
> export PATH="/opt/crossdev/ppc/powerpc-unknown-linux-gnu/bin:${PATH}"
> 
> is what I do to run the PPC cross compiler on my x86.  So do something
> like that, and then you just have to do is add ARCH=i386 when you do
> make menuconfig, etc.  I haven't tried compiling a kernel with the cross
> compiler; perhaps kumba will correct me on this.

Kernel part is easy, just run

make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- <target>

And you should be fine, just make sure to set your kernel for i586 class.


--Kumba

-- 
"Such is oft the course of deeds that move the wheels of the world: 
small hands do them because they must, while the eyes of the great are 
elsewhere."  --Elrond


--
gentoo-embedded@g.o mailing list

Replies:
Re: Multiplatform compile
-- Goran Kavrecic
References:
Multiplatform compile
-- Goran Kavrecic
Re: Multiplatform compile
-- Chris PeBenito
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Multiplatform compile
Next by thread:
Re: Multiplatform compile
Previous by date:
Re: baselayout stuffs
Next by date:
New dev: dragonheart


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.