All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ross Burton <ross.burton@intel.com>
To: yocto@yoctoproject.org
Subject: Re: Building SDK for macOS
Date: Tue, 20 Aug 2019 10:43:34 +0100	[thread overview]
Message-ID: <24aab526-f403-5951-dac1-febfb3e75245@intel.com> (raw)
In-Reply-To: <c9ed0d7d-362f-7039-3a3a-0166651f3bee@intel.com>

On 20/08/2019 10:13, Ross Burton wrote:
> On 20/08/2019 09:53, Andy Pont wrote:
>> This may be a really dumb question but is it possible to generate an 
>> SDK from a Yocto build that will allow cross compilation of an 
>> application to be done on a machine running macOS?
> 
> Yes, with caveats: http://git.yoctoproject.org/cgit/cgit.cgi/meta-darwin
> 
> The caveats are that it's not especially pretty as you can't just 
> download macOS headers, and hasn't been used since 2015 so might need a 
> little updating.

Did a little poking.

The need to build a SDK tarball on an existing macOS could probably be 
removed by using one of the convenient tarballs from 
https://github.com/phracker/MacOSX-SDKs/releases.

The SDK is 32-bit, which is going to be an issue on modern macOS systems.

The layer has several versioned bbappends which need updating to work 
with recent releases.

None of this is insurmountable, meta-darwin has been used for products 
in the past and with a little effort can be made to do so again.

Ross


  reply	other threads:[~2019-08-20  9:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-20  8:53 Building SDK for macOS Andy Pont
2019-08-20  9:13 ` Ross Burton
2019-08-20  9:43   ` Ross Burton [this message]
2019-08-21  9:05     ` Andy Pont

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24aab526-f403-5951-dac1-febfb3e75245@intel.com \
    --to=ross.burton@intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.