tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.85k stars 320 forks source link

Missing binaries #323

Open SteveGremory opened 2 years ago

SteveGremory commented 2 years ago

So i'm trying to compile the XNU kernel with osxcross and i'm getting the following errors:

osxcross: error: xcrun: cannot find 'mig' executable
osxcross: error: xcrun: cannot find 'migcom' executable
osxcross: error: xcrun: cannot find 'iig' executable
osxcross: error: xcrun: cannot find 'unifdef' executable
osxcross: error: xcrun: cannot find 'ctfconvert' executable
osxcross: error: xcrun: cannot find 'ctfmerge' executable
osxcross: error: xcrun: cannot find 'gm4' executable

But, these are expected to be in the Command Line Tools, how aren't they present? any idea as to what could be done to fix this? Thanks for reading btw

tpoechtrager commented 2 years ago

You could try to find the missing tools here: https://github.com/orgs/apple-oss-distributions/repositories?type=all. I am not sure if all of them are open source though.

SteveGremory commented 2 years ago

Yes, Thank you.

OmniBlade commented 2 years ago

@SteveGremory Did you find source for mig/migcom? I'm trying to cross compile crashpad which requires them on macos and having the source to them would be helpful in that regard.

OmniBlade commented 2 years ago

Nevermind, found it at https://github.com/apple-oss-distributions/bootstrap_cmds

SteveGremory commented 2 years ago

Well yeah Debian has MIG in it's repos.