Specify target glibc at command line

The gnu libc version follows the gnu abi:
zig cc -target x86_64-linux-gnu.2.17

To list all the available versions: zig targets | jq -r .glibc[] (2.0-2.38)

4 Likes