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

error: unsupported linker arg: -x #21429

Open
cinemast opened this issue Sep 15, 2024 · 1 comment
Open

error: unsupported linker arg: -x #21429

cinemast opened this issue Sep 15, 2024 · 1 comment
Labels
bug Observed behavior contradicts documented or intended behavior

Comments

@cinemast
Copy link
Contributor

Zig Version

0.13.0

Steps to Reproduce and Observed Behavior

Cross compiling a CGO application from Windows to Mac OSX arm64

Expected Behavior

Cross compilation works

@cinemast cinemast added the bug Observed behavior contradicts documented or intended behavior label Sep 15, 2024
@alexrp
Copy link
Contributor

alexrp commented Sep 17, 2024

There is not enough information to go on here. I can guess from man ld that this might be referring to the short form of --discard-all, but without seeing the full zig cc invocation, it really is just a guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior
Projects
None yet
Development

No branches or pull requests

2 participants