Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error "/usr/sbin/ld: unrecognized option 'dynamic" #82

Open
sunflsks opened this issue Jun 16, 2020 · 1 comment
Open

Getting error "/usr/sbin/ld: unrecognized option 'dynamic" #82

sunflsks opened this issue Jun 16, 2020 · 1 comment

Comments

@sunflsks
Copy link

sunflsks commented Jun 16, 2020

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.

@tpoechtrager
Copy link
Owner

cctools must be in PATH and -target must match the prefix of cctools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants