AutoTools 问答列表

如何让 GNU __attribute__((constructor)) 在库中工作?

作者:Louis Strous 提问时间:2/22/2015

如果我将所有目标文件链接在一个链接中,我可以让 GNU 工作(对于 C++ 程序),但如果我将包含构造函数的目标文件存储在库中,然后链接库而不是目标文件,它就不再工作了。我做错了什么?__attrib...

构建 gcc 时出现 Libtool 版本不匹配错误

作者:Mohamed Atef 提问时间:2/10/2022

我正在尝试将一些文件添加到 GCC 源代码,但在运行后出现该错误autoreconf --install --force libtool: definition of this LT_INIT co...

正在检查主机系统类型...无效配置“x86_64-unknown-linux-gnu”:无法识别计算机“x86_64-unknown”

作者:Hashem HZ 提问时间:3/17/2023

./configure尝试编译时出现以下错误: loading cache ./config.cache checking host system type... Invalid configura...

Termux autotools/libtool 无法确定链接 -lib 接口

作者:Innovations Anonymous 提问时间:6/13/2023

我正在使用 Android 12 的 Termux。我有一个简单的 C 项目,使用 autotools。我运行: autoreconf -i ./configure 它失败了,说: check...

automake 给出错误“.la:无法识别文件:无法识别文件格式”

作者:Fabio Porcedda 提问时间:10/2/2023

我想在 autoconf 子项目中使用 libtool 创建的库,但我得到: $ make [...] gcc -g -O2 -o test test.o liba/liba.la liba/li...


共5条 当前第1页