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. |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
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