Open DennisZhangOiler opened 6 months ago
This is a know limitation, I don't know how to cross-compile with zig cc + external symbols for a nonnative target
This is a know limitation, I don't know how to cross-compile with zig cc + external symbols for a nonnative target
I think it's probably due to unknown linking path or wrong environment variables, those are properly set in gcc.
I am not sure if this post can solve the problem.
Checklist
Describe your issue
My rust program with opencv-rs builds fine without zig glibc version assigned. But when I built with zig, no matter what version I am using, it missed the libraries should be linked in.
What target(s) are you cross-compiling for?
aarch64-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5 (7a2b4e4 2024-04-29)
Example
No response
Additional information / notes
No response