gcc 编译参数

发布时间 2023-12-28 15:44:50作者: 秋来叶黄

--disable-multilib

在64位系统上是否编译32位系统的内容,如果不编译,就禁用掉;如果编译,则需要安装32位系统相关的模块。
一般自己使用不会编译32位系统内容。

collect2: error: ld returned 1 exit status
configure: error: I suspect your system does not have 32-bit development libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib.