All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe-core] build for 32bit architecture
@ 2012-04-18 13:48 Giuseppe Condorelli
  2012-04-18 14:10 ` Gary Thomas
  2012-04-18 16:44 ` McClintock Matthew-B29882
  0 siblings, 2 replies; 5+ messages in thread
From: Giuseppe Condorelli @ 2012-04-18 13:48 UTC (permalink / raw)
  To: openembedded-devel

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.

Please let me know, best regards.
Giuseppe


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

* Re: [oe-core] build for 32bit architecture
  2012-04-18 13:48 [oe-core] build for 32bit architecture Giuseppe Condorelli
@ 2012-04-18 14:10 ` Gary Thomas
  2012-04-18 14:17   ` Giuseppe Condorelli
  2012-04-18 16:44 ` McClintock Matthew-B29882
  1 sibling, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2012-04-18 14:10 UTC (permalink / raw)
  To: openembedded-devel

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.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



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

* Re: [oe-core] build for 32bit architecture
  2012-04-18 14:10 ` Gary Thomas
@ 2012-04-18 14:17   ` Giuseppe Condorelli
  2012-04-18 17:50     ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Giuseppe Condorelli @ 2012-04-18 14:17 UTC (permalink / raw)
  To: openembedded-devel

2012/4/18 Gary Thomas <gary@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.

> --
> ------------------------------**------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------**------------------------------
>
> ______________________________**_________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.**openembedded.org<Openembedded-devel@lists.openembedded.org>
> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>


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

* Re: [oe-core] build for 32bit architecture
  2012-04-18 13:48 [oe-core] build for 32bit architecture Giuseppe Condorelli
  2012-04-18 14:10 ` Gary Thomas
@ 2012-04-18 16:44 ` McClintock Matthew-B29882
  1 sibling, 0 replies; 5+ messages in thread
From: McClintock Matthew-B29882 @ 2012-04-18 16:44 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

On Wed, Apr 18, 2012 at 8:48 AM, Giuseppe Condorelli
<giuseppe.condorelli@gmail.com> 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.

We use setarch with chroot and it works well.

-M



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

* Re: [oe-core] build for 32bit architecture
  2012-04-18 14:17   ` Giuseppe Condorelli
@ 2012-04-18 17:50     ` Denys Dmytriyenko
  0 siblings, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2012-04-18 17:50 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Apr 18, 2012 at 04:17:30PM +0200, Giuseppe Condorelli wrote:
> 2012/4/18 Gary Thomas <gary@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



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

end of thread, other threads:[~2012-04-18 18:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-18 13:48 [oe-core] build for 32bit architecture Giuseppe Condorelli
2012-04-18 14:10 ` Gary Thomas
2012-04-18 14:17   ` Giuseppe Condorelli
2012-04-18 17:50     ` Denys Dmytriyenko
2012-04-18 16:44 ` McClintock Matthew-B29882

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.