-
Notifications
You must be signed in to change notification settings - Fork 54
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
Linux -> Mac cannot cross compile aws-lc-sys #409
Comments
+1 |
I can reproduce this on my Linux host. I'm investigating now. |
The parameter appears to be added here: https://github.com/rust-lang/cc-rs/blob/994dc909dc54caa9eaa473b9807c171e1763d27e/src/lib.rs#L2659
It seems related to this issue: rust-lang/cc-rs#1030 |
Another related issue: rust-lang/cc-rs#710 I'm not certain cross-compiling C/C++ code to MacOS from Linux via
|
From https://rust-lang.github.io/rustup/cross-compilation.html
|
Since cross-compiling from Linux to Mac is not something we currently plan to support. I'm closing this issue. Feel free to open another issue as a feature request if you'd like us to further investigate this as a cross-compilation option. |
Problem:
On an x86_64 Linux box
Fails with unknown flag errors.
Relevant details
aws-lc-rs 17
Linux 6.8.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sat, 13 Apr 2024 14:44:53 +0000 x86_64 unknown
nightly-x86_64-unknown-linux-gnu (default)
rustc 1.78.0-nightly (a4472498d 2024-02-15)
The text was updated successfully, but these errors were encountered: