Getting error "/usr/sbin/ld: unrecognized option 'dynamic"
sunflsks opened this issue · comments
Whenever I try to compile anything with clang and specify the -target flag, I seem to be getting this error. If I symlink gold to /usr/local/bin/ld, it goes away, but gets replaced by "unrecognized option: -arch". I compiled it with the Apple LLVM+Clang, if that makes any difference.
cctools
must be in PATH
and -target
must match the prefix of cctools
.