Getting error "/usr/sbin/ld: unrecognized option 'dynamic" #82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
cctoolsmust be inPATHand-targetmust match the prefix ofcctools.