首页
学习
活动
专区
圈层
工具
发布
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    Linux中的configure,make,make install到底在做些什么

    http://www.sohu.com/a/191735643_505857 在Linux下经常要安装部署一些软件包或者工具,拿到安装包之后一看,简单,configure,make, make install...几个构建编译隐藏的命令 要先说这个编译安装过程,使用命令aclocal会生成m4文件,aclocal本质上是一个perl脚本。先提提m4, m4是一种宏处理器,它是 POSIX 标准的一部分。...aclocal # 产生 aclocal.m4 autoconf # 根据 configure.in 生成configure automake --add-missing # 根据 Makefile.am...这里生成了2个文件,一个是aclocal.m4,另外一个是cache文件autom4te.cache [root@oel64 c]# aclocal [root@oel64 c]# ll total 56...[root@oel64 c]# strings helloworld /lib64/ld-linux-x86-64.so.2 __gmon_start__ libc.so.6 puts __libc_start_main

    3.8K40

    libtool 适配 HarmonyOS PC 完整踩坑指南

    项目名称: GNU Libtool 版本: 2.4.10 构建系统: Autotools (autoconf, automake, libtool) 目标平台: HarmonyOS PC (aarch64-linux-gnu...' .gitmodules 2>/dev/null || true fi 经验总结: .gitmodules 的优先级高于环境变量 需要同时设置环境变量和修改 .gitmodules macOS 和 Linux...解决方案: 在运行 aclocal 之前,注释掉这些不支持的语言: # 必须在运行 aclocal 之前修复 if [ -f "configure.ac" ]; then # 备份 configure.ac...需要包含 gnulib/m4 目录才能找到这些宏 如果 aclocal 没有正确配置,宏就不会被展开 解决方案: 确保 aclocal 调用时包含 gnulib/m4 目录: # 检查 gnulib...是否已初始化 if [ -d "gnulib/m4" ]; then # 运行 aclocal,包含 gnulib/m4 目录 aclocal -I m4 -I gnulib/m4 |

    15310
    领券