invalid linker name in argument '-fuse-ld=lld'
Hi
I have installed LLVM with "brew install llvm" and when I try to build for iOS in Xcode I still get the error "invalid linker name in argument '-fuse-ld=lld'"
How can I get this project to run?
Thanks
You might try my custom version of iSH, specifically...
https://github.com/emkey1/ish-AOK/tree/golden6
I'm fairly sure I got that to build on my M1 MacBook Air.
Ignore the golden7 version, it has some issues.
If you try it and it doesn't work, please leave me an issue on my fork and I'll see if I can get you going.
@alizahedi94 Are you building on Apple silicon?
@emkey1 we should probably just fix this upstream first, to be honest.
@emkey1 Since your project is a fork how do I download the submodules?
@saagarjha Yes
@emkey1 Since your project is a fork how do I download the submodules?
@saagarjha Yes
Clone the whole thing and do
git switch golden6
To be sure you're in the right branch.
@alizahedi94 Are you building on Apple silicon?
@emkey1 we should probably just fix this upstream first, to be honest.
Agreed, but I'm honestly not sure what fixed it. There were two things I recall. One was adding the brew bin directory to the path and the other was using the full path to the non Apple clang for one of the modules.
Comparing the new might shed some light but there have been a lot of changes in my fork and I'm not all that great at keeping things clean git wise.
@emkey1
Tried your project and still getting /opt/homebrew/bin/clang:1:1: invalid linker name in argument '-fuse-ld=lld'
apk add lld
this is almost 3 years old