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

Clarify requirements #292

Open mcandre opened 2 years ago

mcandre commented 2 years ago

The UNIX file utility appears to be required to complete build.sh, however this is not mentioned among the requirements.

In terms of arm64e support, does the user truly need to manually setup an Apple toolchain before initiating build.sh? Couldn't this be automated as part of the normal build.sh process?

Having trouble understanding the README. Do Linux users need to build osxcross in order to enable Darwin targets? Or does ./build_clang.sh produce a fully self-sufficient clang toolchain to build Darwin amd64 and arm64[e] targets?

tpoechtrager commented 2 years ago

file is a fairly standard tool. I don't think it needs extra mentioning.

arm64e is now supported by upstream Clang 12+. No need to build Apple's version. I need to update the README.

./build_clang.sh builds a vanilla LLVM/Clang that can be used for OSXCross.

mcandre commented 2 years ago

file is not necessarily available on every operating system by default. The default install base in many operating systems has begun to shrink and not necessarily install such critical developer tools automatically. Worth documenting.

Regarding plain vanilla Clang 12 with OSXCross soon, confirmed. Thanks for the tip!