[oe] [oe-core] build for 32bit architecture

Denys Dmytriyenko denis at denix.org
Wed Apr 18 17:50:34 UTC 2012


On Wed, Apr 18, 2012 at 04:17:30PM +0200, Giuseppe Condorelli wrote:
> 2012/4/18 Gary Thomas <gary at mlbassoc.com>
> 
> > On 2012-04-18 07:48, Giuseppe Condorelli wrote:
> >
> >> Hi All,
> >>
> >> I need to build the native packages for a 32bit architecture, although I'm
> >> working on a 64bit machine.
> >> So I need to pass the -m32 option to the compiler and my question is about
> >> the right place where to put it
> >> to be inherited by all native packages.
> >>
> >
> > Why would you need 32bit native packages when your build host is 64bit?
> > The native packages are only used to provide functionality during the
> > build and hence (it makes sense to me at least) they should match the
> > build host native environment.

> I need to build cross tools at 32bit for my goal.

Well, that's cross, not native, as you previously said.

For what you want look at SDKMACHINE in your local.conf

-- 
Denys




More information about the Openembedded-devel mailing list