gcc: Reduce libc required version

后端 未结 3 1342
醉酒成梦
醉酒成梦 2021-02-01 20:33

I am trying to run a newly compiled binary on some oldish 32bits RedHat distribution.
The binary is compiled C (not++) on a CentOS 32bits VM running libc v2.12.

Red

3条回答
  •  一生所求
    2021-02-01 21:08

    Ok then, trying to find some balance between elegance and brute force, I downloaded a VM matching the target kernel version, hence fixing library issues.
    The whole thing (download + yum install gcc) took less than 30 minutes.

    References: Virtual machines, Kernel Version Mapping Table

提交回复
热议问题