随笔分类 -  编译

摘要:生成configure文件的步骤 在软件包内执行如下命令: aclocal autoconf --> 生成configure文件 autoheader(出现什么AC_CONFIG_HEADERS not found in configure.ac 可以忽略) automake --add-missi 阅读全文
posted @ 2023-02-08 20:04 MoonXu 阅读(2) 评论(0) 推荐(0) 编辑
摘要:CC=arm-cortex_a9-linux-gnueabi-gcc ./configure --host=arm LZ4_LIBS="-L/opt/rootfs/xpylib/lz4/usr/local/lib -llz4" LZ4_CFLAGS="-I/opt/rootfs/xpylib/lz4 阅读全文
posted @ 2022-09-25 19:33 MoonXu 阅读(3) 评论(0) 推荐(0) 编辑
摘要:./config no-asm shared no-async --cross-compile-prefix=arm-cortex_a9-linux-gnueabi- find ./ -name "Makefile" -exec sed -i "s/-m64//g" {} \; 阅读全文
posted @ 2022-09-25 19:32 MoonXu 阅读(29) 评论(0) 推荐(0) 编辑
摘要:假设我们有一个具有 Meson 构建系统的源代码树。这意味着在最顶层目录有一个名为 meson.buildmeson setup (builddir)meson的语法是meson [command] [arguments] [options]setup命令接受一个builddir和一个srcdir参 阅读全文
posted @ 2022-07-26 09:13 MoonXu 阅读(2961) 评论(0) 推荐(0) 编辑
摘要:./configure --target-os=linux --arch=armv7-a --enable-cross-compile --enable-pthreads --enable-static --enable-shared --cross-prefix=arm-cortex_a9-lin 阅读全文
posted @ 2022-07-13 09:40 MoonXu 阅读(112) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示