cross-rs / cross-toolchains

Additional Dockerfiles and crosstool-ng config files to build additional toolchains.
Apache License 2.0
88 stars 16 forks source link

Issue configuring the glibc version #37

Closed calavera closed 1 year ago

calavera commented 1 year ago

I'd like to create a custom x86_64 image with a specific version of glibc, 2.26. I'm running this command, following these steps from the readme:

cargo xtask configure-crosstool x86_64-unknown-linux-gnu --glibc-version 2.26

And I get this error:

unable to find config for target "x86_64-unknown-linux-gnu"

I understand that this is happening because there is no file named x86_64-unknown-linux-gnu.config.in in the docker/cross-toolchains/crosstool-ng directory. How do I create one? is there a template that I can use? I've looked at the two files that already exist, but I don't think I can just copy them given that they are for different architectures.

calavera commented 1 year ago

I don't need to know this anymore