On 2017-06-20 13:51, Moritz Maxeiner wrote:
Last time I checked you only needed the Xcode command line tools (which are small), not the whole thing.
Yes. But I think there are a few things missing, depending on what you need. There's some LLDB library that is missing from the command line tools that is used for editor/IDE integration.
In any case, what would you propose to be bundled as the linker (if we can't depend on the one provided by Xcode)?
LLD, the LLVM linker [1]. As far as I understand it, it also support cross-platform linking. Using LDC, musl and LLD you have a fully working cross-compiler tool chain. You might need some extra libraries as well, depending on what you need.
[1] https://lld.llvm.org -- /Jacob Carlborg