Openembedded Core Discussions
 help / color / mirror / Atom feed
* Specifying 32 bit dependency for 64 bit software
@ 2014-11-03 17:29 Laszlo Papp
  2014-11-03 17:32 ` Laszlo Papp
  2014-11-04 11:48 ` Richard Purdie
  0 siblings, 2 replies; 5+ messages in thread
From: Laszlo Papp @ 2014-11-03 17:29 UTC (permalink / raw)
  To: openembedded-core

Hi,

we have a tool that we run during our make run, but this tool is
hard-coded for 32 bit. It depends on software like ncurses. I could
add ncurses-native in an ideal world; no problem.

The problem is that my host environment is 64 bit currently and it is
not possible to migrate the whole environment to 32 bit. I am happy to
explain the details if needed, but I would love you to trust me about
that. =)

So, is it possible to say more than just DEPENDS = ncurses-native,
something like DEPENDS = ncurses-native:x86 or something?

Cheers, L.


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

* Re: Specifying 32 bit dependency for 64 bit software
  2014-11-03 17:29 Specifying 32 bit dependency for 64 bit software Laszlo Papp
@ 2014-11-03 17:32 ` Laszlo Papp
  2014-11-04 11:48 ` Richard Purdie
  1 sibling, 0 replies; 5+ messages in thread
From: Laszlo Papp @ 2014-11-03 17:32 UTC (permalink / raw)
  To: openembedded-core

Forgot to mention, but any nice workarounds are appreciated. I have a
few ideas, but they are all a bit ugly and non-robust.

On Mon, Nov 3, 2014 at 5:29 PM, Laszlo Papp <lpapp@kde.org> wrote:
> Hi,
>
> we have a tool that we run during our make run, but this tool is
> hard-coded for 32 bit. It depends on software like ncurses. I could
> add ncurses-native in an ideal world; no problem.
>
> The problem is that my host environment is 64 bit currently and it is
> not possible to migrate the whole environment to 32 bit. I am happy to
> explain the details if needed, but I would love you to trust me about
> that. =)
>
> So, is it possible to say more than just DEPENDS = ncurses-native,
> something like DEPENDS = ncurses-native:x86 or something?
>
> Cheers, L.


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

* Re: Specifying 32 bit dependency for 64 bit software
  2014-11-03 17:29 Specifying 32 bit dependency for 64 bit software Laszlo Papp
  2014-11-03 17:32 ` Laszlo Papp
@ 2014-11-04 11:48 ` Richard Purdie
  2014-11-20 18:17   ` Laszlo Papp
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2014-11-04 11:48 UTC (permalink / raw)
  To: Laszlo Papp; +Cc: openembedded-core

On Mon, 2014-11-03 at 17:29 +0000, Laszlo Papp wrote:
> we have a tool that we run during our make run, but this tool is
> hard-coded for 32 bit. It depends on software like ncurses. I could
> add ncurses-native in an ideal world; no problem.
> 
> The problem is that my host environment is 64 bit currently and it is
> not possible to migrate the whole environment to 32 bit. I am happy to
> explain the details if needed, but I would love you to trust me about
> that. =)
> 
> So, is it possible to say more than just DEPENDS = ncurses-native,
> something like DEPENDS = ncurses-native:x86 or something?

How much of a 32 bit system do you have? Do you at least have a 32 bit
capable compiler and C libraries?

If so, you could use our general class extension mechanism
(BBCLASSEXTEND) to allow 32 bit variants of the native recipes, e.g. a
"native32" form.

Alternatively, a more easier approach would be to build a target like
buildtools-tarball with SDKMACHINE="i686" and then install that onto the
system you're building on.

Cheers,

Richard







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

* Re: Specifying 32 bit dependency for 64 bit software
  2014-11-04 11:48 ` Richard Purdie
@ 2014-11-20 18:17   ` Laszlo Papp
  2015-01-05 12:48     ` Laszlo Papp
  0 siblings, 1 reply; 5+ messages in thread
From: Laszlo Papp @ 2014-11-20 18:17 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

On Tue, Nov 4, 2014 at 11:48 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Mon, 2014-11-03 at 17:29 +0000, Laszlo Papp wrote:
>> we have a tool that we run during our make run, but this tool is
>> hard-coded for 32 bit. It depends on software like ncurses. I could
>> add ncurses-native in an ideal world; no problem.
>>
>> The problem is that my host environment is 64 bit currently and it is
>> not possible to migrate the whole environment to 32 bit. I am happy to
>> explain the details if needed, but I would love you to trust me about
>> that. =)
>>
>> So, is it possible to say more than just DEPENDS = ncurses-native,
>> something like DEPENDS = ncurses-native:x86 or something?
>
> How much of a 32 bit system do you have? Do you at least have a 32 bit
> capable compiler and C libraries?
>
> If so, you could use our general class extension mechanism
> (BBCLASSEXTEND) to allow 32 bit variants of the native recipes, e.g. a
> "native32" form.
>
> Alternatively, a more easier approach would be to build a target like
> buildtools-tarball with SDKMACHINE="i686" and then install that onto the
> system you're building on.

I am just back from my long vacation. I am sorry about not replying
earlier. OK, thank you so much; I will give the buildtools-tarball a
go.

Cheers, L.

>
> Cheers,
>
> Richard
>
>
>
>
>


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

* Re: Specifying 32 bit dependency for 64 bit software
  2014-11-20 18:17   ` Laszlo Papp
@ 2015-01-05 12:48     ` Laszlo Papp
  0 siblings, 0 replies; 5+ messages in thread
From: Laszlo Papp @ 2015-01-05 12:48 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

On Thu, Nov 20, 2014 at 6:17 PM, Laszlo Papp <lpapp@kde.org> wrote:
> On Tue, Nov 4, 2014 at 11:48 AM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
>> On Mon, 2014-11-03 at 17:29 +0000, Laszlo Papp wrote:
>>> we have a tool that we run during our make run, but this tool is
>>> hard-coded for 32 bit. It depends on software like ncurses. I could
>>> add ncurses-native in an ideal world; no problem.
>>>
>>> The problem is that my host environment is 64 bit currently and it is
>>> not possible to migrate the whole environment to 32 bit. I am happy to
>>> explain the details if needed, but I would love you to trust me about
>>> that. =)
>>>
>>> So, is it possible to say more than just DEPENDS = ncurses-native,
>>> something like DEPENDS = ncurses-native:x86 or something?
>>
>> How much of a 32 bit system do you have? Do you at least have a 32 bit
>> capable compiler and C libraries?
>>
>> If so, you could use our general class extension mechanism
>> (BBCLASSEXTEND) to allow 32 bit variants of the native recipes, e.g. a
>> "native32" form.
>>
>> Alternatively, a more easier approach would be to build a target like
>> buildtools-tarball with SDKMACHINE="i686" and then install that onto the
>> system you're building on.
>
> I am just back from my long vacation. I am sorry about not replying
> earlier. OK, thank you so much; I will give the buildtools-tarball a
> go.

In the end, it was simpler to use this on my Wheezy (Debian)

dpkg --add-architecture i386 && apt-get update && apt-get install
install mylib:i386

>
> Cheers, L.
>
>>
>> Cheers,
>>
>> Richard
>>
>>
>>
>>
>>


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

end of thread, other threads:[~2015-01-05 12:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-03 17:29 Specifying 32 bit dependency for 64 bit software Laszlo Papp
2014-11-03 17:32 ` Laszlo Papp
2014-11-04 11:48 ` Richard Purdie
2014-11-20 18:17   ` Laszlo Papp
2015-01-05 12:48     ` Laszlo Papp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox