darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.36k stars 441 forks source link

Implement Darling CLT #660

Open TheBrokenRail opened 4 years ago

TheBrokenRail commented 4 years ago

Judging by https://github.com/darlinghq/darling/commit/9aad49fd6f6cb16587c0ef3af23abf249acc1b0e, the goal is to have a complete CLT builtin. Also according to #337, its a goal to have a working LLDB. Here are some ideas:

TheBrokenRail commented 4 years ago

Apple releases the source for Clang! https://opensource.apple.com/source/clang/clang-800.0.42.1/

ahyattdev commented 4 years ago

One way we could get Clang into our CLT is by downloading a prebuilt binary from here: https://releases.llvm.org/download.html

xcode-select could do this automatically when an install is requested.

This is of course dependent on #463.

I suggest this because clang is massive and building it our self wouldn't provide much benefit. We can also do the same for lldb and git.

ahyattdev commented 4 years ago

463 is nearing being fixed. This allows us to move forward with this.

The setup script can download our official working LLDB build, and then clang/git from the respective websites.