All of lore.kernel.org
 help / color / mirror / Atom feed
* MS Windows machine?
@ 2017-12-21  6:40 Steffen Sledz
  2017-12-21  9:08   ` [OE-core] " Burton, Ross
  0 siblings, 1 reply; 17+ messages in thread
From: Steffen Sledz @ 2017-12-21  6:40 UTC (permalink / raw)
  To: openembedded-core, openembedded-devel

Anyone tried to cross-compile for MS Windows target with Yocto/OE?

Regards,
Steffen

PS: Fup set to <openembedded-core@lists.openembedded.org>


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

* Re: MS Windows machine?
  2017-12-21  6:40 MS Windows machine? Steffen Sledz
@ 2017-12-21  9:08   ` Burton, Ross
  0 siblings, 0 replies; 17+ messages in thread
From: Burton, Ross @ 2017-12-21  9:08 UTC (permalink / raw)
  To: Steffen Sledz; +Cc: openembedded-devel, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

On 21 December 2017 at 06:40, Steffen Sledz <sledz@dresearch-fe.de> wrote:

> Anyone tried to cross-compile for MS Windows target with Yocto/OE?
>

Yes, see meta-mingw.

Ross

[-- Attachment #2: Type: text/html, Size: 514 bytes --]

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

* Re: [OE-core] MS Windows machine?
@ 2017-12-21  9:08   ` Burton, Ross
  0 siblings, 0 replies; 17+ messages in thread
From: Burton, Ross @ 2017-12-21  9:08 UTC (permalink / raw)
  To: Steffen Sledz; +Cc: openembedded-devel, openembedded-core

On 21 December 2017 at 06:40, Steffen Sledz <sledz@dresearch-fe.de> wrote:

> Anyone tried to cross-compile for MS Windows target with Yocto/OE?
>

Yes, see meta-mingw.

Ross


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

* Re: MS Windows machine?
  2017-12-21  9:08   ` [OE-core] " Burton, Ross
@ 2017-12-21  9:54     ` Steffen Sledz
  -1 siblings, 0 replies; 17+ messages in thread
From: Steffen Sledz @ 2017-12-21  9:54 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-devel, openembedded-core

On 21.12.2017 10:08, Burton, Ross wrote:
> On 21 December 2017 at 06:40, Steffen Sledz <sledz@dresearch-fe.de> wrote:
>> Anyone tried to cross-compile for MS Windows target with Yocto/OE?
> 
> Yes, see meta-mingw.


A misunderstanding?

I like to build *for* MS Windows, not *at* MS Windows.

Steffen


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

* Re: [OE-core] MS Windows machine?
@ 2017-12-21  9:54     ` Steffen Sledz
  0 siblings, 0 replies; 17+ messages in thread
From: Steffen Sledz @ 2017-12-21  9:54 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-devel, openembedded-core

On 21.12.2017 10:08, Burton, Ross wrote:
> On 21 December 2017 at 06:40, Steffen Sledz <sledz@dresearch-fe.de> wrote:
>> Anyone tried to cross-compile for MS Windows target with Yocto/OE?
> 
> Yes, see meta-mingw.


A misunderstanding?

I like to build *for* MS Windows, not *at* MS Windows.

Steffen


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

* Re: MS Windows machine?
  2017-12-21  9:54     ` [OE-core] " Steffen Sledz
@ 2017-12-21 11:39       ` Burton, Ross
  -1 siblings, 0 replies; 17+ messages in thread
From: Burton, Ross @ 2017-12-21 11:39 UTC (permalink / raw)
  To: Steffen Sledz; +Cc: openembedded-devel, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

On 21 December 2017 at 09:54, Steffen Sledz <sledz@dresearch-fe.de> wrote:

> On 21.12.2017 10:08, Burton, Ross wrote:
> > On 21 December 2017 at 06:40, Steffen Sledz <sledz@dresearch-fe.de>
> wrote:
> >> Anyone tried to cross-compile for MS Windows target with Yocto/OE?
> >
> > Yes, see meta-mingw.
>
> A misunderstanding?
>
> I like to build *for* MS Windows, not *at* MS Windows.
>

"OpenEmbedded meta layer for mingw based SDKs"

Running bitbake on Windows isn't possible.  It's getting closer with the
new Subsystem for Linux thing but that's not ready yet.

meta-mingw lets you build SDKs *for* Windows.  We've used it to build cross
compilers that run on Windows that generate Linux binaries.

If you want to build for a Windows target then that should be possible but
nobody as far as I'm aware has made the work public.  meta-mingw will
contain most of the changes needed as that does build Windows binaries.

Ross

[-- Attachment #2: Type: text/html, Size: 1542 bytes --]

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

* Re: [OE-core] MS Windows machine?
@ 2017-12-21 11:39       ` Burton, Ross
  0 siblings, 0 replies; 17+ messages in thread
From: Burton, Ross @ 2017-12-21 11:39 UTC (permalink / raw)
  To: Steffen Sledz; +Cc: openembedded-devel, openembedded-core

On 21 December 2017 at 09:54, Steffen Sledz <sledz@dresearch-fe.de> wrote:

> On 21.12.2017 10:08, Burton, Ross wrote:
> > On 21 December 2017 at 06:40, Steffen Sledz <sledz@dresearch-fe.de>
> wrote:
> >> Anyone tried to cross-compile for MS Windows target with Yocto/OE?
> >
> > Yes, see meta-mingw.
>
> A misunderstanding?
>
> I like to build *for* MS Windows, not *at* MS Windows.
>

"OpenEmbedded meta layer for mingw based SDKs"

Running bitbake on Windows isn't possible.  It's getting closer with the
new Subsystem for Linux thing but that's not ready yet.

meta-mingw lets you build SDKs *for* Windows.  We've used it to build cross
compilers that run on Windows that generate Linux binaries.

If you want to build for a Windows target then that should be possible but
nobody as far as I'm aware has made the work public.  meta-mingw will
contain most of the changes needed as that does build Windows binaries.

Ross


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

* Re: MS Windows machine?
  2017-12-21 11:39       ` [OE-core] " Burton, Ross
@ 2017-12-21 13:00         ` Steffen Sledz
  -1 siblings, 0 replies; 17+ messages in thread
From: Steffen Sledz @ 2017-12-21 13:00 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-devel, openembedded-core

On 21.12.2017 12:39, Burton, Ross wrote:
> If you want to build for a Windows target then that should be possible but
> nobody as far as I'm aware has made the work public.  meta-mingw will
> contain most of the changes needed as that does build Windows binaries.

That's exactly what we like to to.

So has anyone tried this before?

What else would be needed to build e.g. for MACHINE=i686-mingw32?

Steffen


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

* Re: [OE-core] MS Windows machine?
@ 2017-12-21 13:00         ` Steffen Sledz
  0 siblings, 0 replies; 17+ messages in thread
From: Steffen Sledz @ 2017-12-21 13:00 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-devel, openembedded-core

On 21.12.2017 12:39, Burton, Ross wrote:
> If you want to build for a Windows target then that should be possible but
> nobody as far as I'm aware has made the work public.  meta-mingw will
> contain most of the changes needed as that does build Windows binaries.

That's exactly what we like to to.

So has anyone tried this before?

What else would be needed to build e.g. for MACHINE=i686-mingw32?

Steffen


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

* Re: MS Windows machine?
  2017-12-21 13:00         ` [OE-core] " Steffen Sledz
@ 2018-01-04  6:31           ` Steffen Sledz
  -1 siblings, 0 replies; 17+ messages in thread
From: Steffen Sledz @ 2018-01-04  6:31 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-devel, openembedded-core

On 21.12.2017 14:00, Steffen Sledz wrote:
> On 21.12.2017 12:39, Burton, Ross wrote:
>> If you want to build for a Windows target then that should be possible but
>> nobody as far as I'm aware has made the work public.  meta-mingw will
>> contain most of the changes needed as that does build Windows binaries.
> 
> That's exactly what we like to to.
> 
> So has anyone tried this before?
> 
> What else would be needed to build e.g. for MACHINE=i686-mingw32?

Is someone able to create a machine definition for this? I'm not really familiar with this job.

Steffen



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

* Re: [OE-core] MS Windows machine?
@ 2018-01-04  6:31           ` Steffen Sledz
  0 siblings, 0 replies; 17+ messages in thread
From: Steffen Sledz @ 2018-01-04  6:31 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-devel, openembedded-core

On 21.12.2017 14:00, Steffen Sledz wrote:
> On 21.12.2017 12:39, Burton, Ross wrote:
>> If you want to build for a Windows target then that should be possible but
>> nobody as far as I'm aware has made the work public.  meta-mingw will
>> contain most of the changes needed as that does build Windows binaries.
> 
> That's exactly what we like to to.
> 
> So has anyone tried this before?
> 
> What else would be needed to build e.g. for MACHINE=i686-mingw32?

Is someone able to create a machine definition for this? I'm not really familiar with this job.

Steffen



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

* Re: MS Windows machine?
  2018-01-04  6:31           ` [OE-core] " Steffen Sledz
@ 2018-01-04 14:39             ` Richard Purdie
  -1 siblings, 0 replies; 17+ messages in thread
From: Richard Purdie @ 2018-01-04 14:39 UTC (permalink / raw)
  To: Steffen Sledz, Burton, Ross; +Cc: openembedded-devel, openembedded-core

On Thu, 2018-01-04 at 07:31 +0100, Steffen Sledz wrote:
> On 21.12.2017 14:00, Steffen Sledz wrote:
> > 
> > On 21.12.2017 12:39, Burton, Ross wrote:
> > > 
> > > If you want to build for a Windows target then that should be
> > > possible but
> > > nobody as far as I'm aware has made the work public.  meta-mingw
> > > will
> > > contain most of the changes needed as that does build Windows
> > > binaries.
> > That's exactly what we like to to.
> > 
> > So has anyone tried this before?
> > 
> > What else would be needed to build e.g. for MACHINE=i686-mingw32?
> Is someone able to create a machine definition for this? I'm not
> really familiar with this job.

In basic terms, you need a machine which:

* Sets TARGET_ARCH to the right thing (i686 or x86_64)
* Sets TARGET_OS to mingw32

and then some distro config which sets up the toolchain when mingw is
the target os to the values like meta-mingw/conf/machine-sdk/i686-
mingw32.conf sets.

You'd need need to look through the bbappends which are in meta-mingw
and add them to the appropriate pieces you need for target binaries
rather than sdk binaries.

I did once do this for darwin so it is possible, I've never tried it
for windows though.

Cheers,

Richard


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

* Re: [OE-core] MS Windows machine?
@ 2018-01-04 14:39             ` Richard Purdie
  0 siblings, 0 replies; 17+ messages in thread
From: Richard Purdie @ 2018-01-04 14:39 UTC (permalink / raw)
  To: Steffen Sledz, Burton, Ross; +Cc: openembedded-devel, openembedded-core

On Thu, 2018-01-04 at 07:31 +0100, Steffen Sledz wrote:
> On 21.12.2017 14:00, Steffen Sledz wrote:
> > 
> > On 21.12.2017 12:39, Burton, Ross wrote:
> > > 
> > > If you want to build for a Windows target then that should be
> > > possible but
> > > nobody as far as I'm aware has made the work public.  meta-mingw
> > > will
> > > contain most of the changes needed as that does build Windows
> > > binaries.
> > That's exactly what we like to to.
> > 
> > So has anyone tried this before?
> > 
> > What else would be needed to build e.g. for MACHINE=i686-mingw32?
> Is someone able to create a machine definition for this? I'm not
> really familiar with this job.

In basic terms, you need a machine which:

* Sets TARGET_ARCH to the right thing (i686 or x86_64)
* Sets TARGET_OS to mingw32

and then some distro config which sets up the toolchain when mingw is
the target os to the values like meta-mingw/conf/machine-sdk/i686-
mingw32.conf sets.

You'd need need to look through the bbappends which are in meta-mingw
and add them to the appropriate pieces you need for target binaries
rather than sdk binaries.

I did once do this for darwin so it is possible, I've never tried it
for windows though.

Cheers,

Richard


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

* Re: MS Windows machine?
  2018-01-04 14:39             ` [OE-core] " Richard Purdie
@ 2018-01-05 11:29               ` Steffen Sledz
  -1 siblings, 0 replies; 17+ messages in thread
From: Steffen Sledz @ 2018-01-05 11:29 UTC (permalink / raw)
  To: Richard Purdie, Burton, Ross, Otavio Salvador
  Cc: openembedded-devel, openembedded-core

On 04.01.2018 15:39, Richard Purdie wrote:
> In basic terms, you need a machine which:
> 
> * Sets TARGET_ARCH to the right thing (i686 or x86_64)
> * Sets TARGET_OS to mingw32
> 
> and then some distro config which sets up the toolchain when mingw is
> the target os to the values like meta-mingw/conf/machine-sdk/i686-
> mingw32.conf sets.

Do you have a sample distro config which we can use as a template?


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

* Re: [OE-core] MS Windows machine?
@ 2018-01-05 11:29               ` Steffen Sledz
  0 siblings, 0 replies; 17+ messages in thread
From: Steffen Sledz @ 2018-01-05 11:29 UTC (permalink / raw)
  To: Richard Purdie, Burton, Ross, Otavio Salvador
  Cc: openembedded-devel, openembedded-core

On 04.01.2018 15:39, Richard Purdie wrote:
> In basic terms, you need a machine which:
> 
> * Sets TARGET_ARCH to the right thing (i686 or x86_64)
> * Sets TARGET_OS to mingw32
> 
> and then some distro config which sets up the toolchain when mingw is
> the target os to the values like meta-mingw/conf/machine-sdk/i686-
> mingw32.conf sets.

Do you have a sample distro config which we can use as a template?


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

* Re: MS Windows machine?
  2018-01-05 11:29               ` [OE-core] " Steffen Sledz
@ 2018-01-05 12:22                 ` Richard Purdie
  -1 siblings, 0 replies; 17+ messages in thread
From: Richard Purdie @ 2018-01-05 12:22 UTC (permalink / raw)
  To: Steffen Sledz, Burton, Ross, Otavio Salvador
  Cc: openembedded-devel, openembedded-core

On Fri, 2018-01-05 at 12:29 +0100, Steffen Sledz wrote:
> On 04.01.2018 15:39, Richard Purdie wrote:
> > 
> > In basic terms, you need a machine which:
> > 
> > * Sets TARGET_ARCH to the right thing (i686 or x86_64)
> > * Sets TARGET_OS to mingw32
> > 
> > and then some distro config which sets up the toolchain when mingw
> > is
> > the target os to the values like meta-mingw/conf/machine-sdk/i686-
> > mingw32.conf sets.
> Do you have a sample distro config which we can use as a template?

No, sorry. As I said, I've not tried this before. Its not a trivial
thing to do, equally it shouldn't be too bad given what we already
have...

Sadly I don't have the time available to play with something like that
either, much as I do quite enjoy it...

Cheers,

Richard


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

* Re: [OE-core] MS Windows machine?
@ 2018-01-05 12:22                 ` Richard Purdie
  0 siblings, 0 replies; 17+ messages in thread
From: Richard Purdie @ 2018-01-05 12:22 UTC (permalink / raw)
  To: Steffen Sledz, Burton, Ross, Otavio Salvador
  Cc: openembedded-devel, openembedded-core

On Fri, 2018-01-05 at 12:29 +0100, Steffen Sledz wrote:
> On 04.01.2018 15:39, Richard Purdie wrote:
> > 
> > In basic terms, you need a machine which:
> > 
> > * Sets TARGET_ARCH to the right thing (i686 or x86_64)
> > * Sets TARGET_OS to mingw32
> > 
> > and then some distro config which sets up the toolchain when mingw
> > is
> > the target os to the values like meta-mingw/conf/machine-sdk/i686-
> > mingw32.conf sets.
> Do you have a sample distro config which we can use as a template?

No, sorry. As I said, I've not tried this before. Its not a trivial
thing to do, equally it shouldn't be too bad given what we already
have...

Sadly I don't have the time available to play with something like that
either, much as I do quite enjoy it...

Cheers,

Richard


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

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

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-21  6:40 MS Windows machine? Steffen Sledz
2017-12-21  9:08 ` Burton, Ross
2017-12-21  9:08   ` [OE-core] " Burton, Ross
2017-12-21  9:54   ` Steffen Sledz
2017-12-21  9:54     ` [OE-core] " Steffen Sledz
2017-12-21 11:39     ` Burton, Ross
2017-12-21 11:39       ` [OE-core] " Burton, Ross
2017-12-21 13:00       ` Steffen Sledz
2017-12-21 13:00         ` [OE-core] " Steffen Sledz
2018-01-04  6:31         ` Steffen Sledz
2018-01-04  6:31           ` [OE-core] " Steffen Sledz
2018-01-04 14:39           ` Richard Purdie
2018-01-04 14:39             ` [OE-core] " Richard Purdie
2018-01-05 11:29             ` Steffen Sledz
2018-01-05 11:29               ` [OE-core] " Steffen Sledz
2018-01-05 12:22               ` Richard Purdie
2018-01-05 12:22                 ` [OE-core] " Richard Purdie

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.