有没有一种方法可以要求ocamlopt链接到glibc 2.5,以便我可以在只有该版本库的机器上运行结果二进制文件?
如果可能,我是否需要在我的机器上安装其他软件包? 我的机器没有glibc 2.5。 是否有适用于此版本的软件包?
提前致谢。
-cc <comp> Use <comp> as the C compiler and linker
-cclib <opt> Pass option <opt> to the C linker
-ccopt <opt> Pass option <opt> to the C compiler and linker
根据我的经验,最好使用基于glibc-2.5的系统获取chroot或vm,并在那里编译可分发的二进制文件。