Repository navigation
Can I limit the GLIBC version needed? #1099
|
Hi, I would like to know if there is a way of limiting the GLIB version needed for the cross compiled binaries. If not, which version is used? I would like to be able to build on whatever machine I'm developing without worrying about not being able to run the binary on the target platform, which may be a very old device on some network without Internet. |
Answered by
Emilgardis
Oct 29, 2022
Replies: 1 comment 6 replies
|
Yes! Kinda the versions are available on https://github.com/cross-rs/cross#supported-targets, for 0.2.4 here if you want a specific glibc, consider either creating the image yourself, or use |
6 replies
Answer selected by
Alexhuszagh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes! Kinda
the versions are available on https://github.com/cross-rs/cross#supported-targets, for 0.2.4 here
if you want a specific glibc, consider either creating the image yourself, or use
[build.zig]or[target.<target>.zig](if you only have C deps), or, use crosstool-ng which we haven't documented how to do properly