a
home/hxl/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc
配置使用的交叉编译器及 tslib 编译输出路径: ./configure --host=arm-linux-gnueabihf ac_cv_func_malloc_0_nonnull=yes --cache-file=arm-linux. cache -prefix=/home/xzj/tslib-1.21/arm-tslib
/home/hxl/tslib-1.21/install-s
./configure --host=arm-linux ac_cv_func_malloc_0_nonnull=yes --cache-file=arm-linux.cache --prefix=/home/hxl/tslib-1.21/arm-tslib CC=/home/hxl/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc
其中:
--host=arm-linux
指定目标主机为arm-linux
。ac_cv_func_malloc_0_nonnull=yes
设置配置缓存变量,避免在配置过程中检测malloc
函数。--cache-file=arm-linux.cache
指定缓存文件。--prefix=/home/hxl/tslib-1.21/arm-tslib
指定安装路径。CC=/home/hxl/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc
指定使用的交叉编译器。
如果需要其他配置选项或编译器路径,请进一步调整命令。