Skip to content

Vali0004/kext_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apple kext_tools

What is this?

First, let's get started with what this isn't. It is NOT a Linux port, and likely never will be (at least, not fully)

What is it then? It is a modified version of the 11.2 kext_tools to build under a Linux-based environment.

How is this useful?

Well, what do you get when you slim a binary down so much, it has minimal deps?

A binary usable under a translation layer! Darling is one way.

How to build?

Since I need to build this under a Linux host, things get a bit tricky...

You'll need a few things:

  • osxcross, targeting SDK 11.3
  • zlib, built for OSX11.2, using the same command below to configure it. Install the library manually, or build llvm with the right command yourself
  • A lot of patience

This is the build command I used. It's a bit hacky, but it gets the job done:

xcrun cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=11.2 -DCMAKE_PREFIX_PATH="$(xcrun --sdk macosx --show-sdk-path)/usr" -DCMAKE_LINKER="$(xcrun --find ld)" -B build

Thanks to

  • Huge thanks to a lot of people in the PureDarwin server
  • Huge thanks to Zormeister

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors