交叉编译工具链中库和头文件的搜索路径

echo 'main(){}'|arm-himix100-linux-gcc -E -v -

xxxx@xxxx:tool$ echo 'main(){}'|arm-himix100-linux-gcc -E -v -
Using built-in specs.
COLLECT_GCC=arm-himix100-linux-gcc
Target: arm-linux-uclibceabi
Configured with: /home/sying/SDK_CPU_UNIFIED/build/script/arm-himix100-linux/arm_himix100_build_dir/src/gcc-6.3.0/configure --host=i386-redhat-linux --build=i386-redhat-linux --target=arm-linux-uclibceabi --prefix=/home/sying/SDK_CPU_UNIFIED/build/script/arm-himix100-linux/arm_himix100_build_dir/install --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-lto --enable-symvers=gnu --enable-__cxa_atexit --disable-libatomic --disable-nls --enable-clocale=gnu --enable-extra-hisi-multilibs --with-sysroot=/home/sying/SDK_CPU_UNIFIED/build/script/arm-himix100-linux/arm_himix100_build_dir/install/target --with-build-sysroot=/home/sying/SDK_CPU_UNIFIED/build/script/arm-himix100-linux/arm_himix100_build_dir/install/target --with-gmp=/home/sying/SDK_CPU_UNIFIED/build/script/arm-himix100-linux/arm_himix100_build_dir/obj/host-libs/usr --with-mpfr=/home/sying/SDK_CPU_UNIFIED/build/script/arm-himix100-linux/arm_himix100_build_dir/obj/host-libs/usr --with-mpc=/home/sying/SDK_CPU_UNIFIED/build/script/arm-himix100-linux/arm_himix100_build_dir/obj/host-libs/usr --disable-libgomp --disable-libquadmath --disable-fixed-point --disable-libsanitizer --disable-libitm --enable-poison-system-directories --with-pkgversion='HC&C V100R002C00B032_20190114'
Thread model: posix
gcc version 6.3.0 (HC&C V100R002C00B032_20190114)
COLLECT_GCC_OPTIONS='-E' '-v' '-mtls-dialect=gnu'
 /media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../libexec/gcc/arm-linux-uclibceabi/6.3.0/cc1 -E -quiet -v -iprefix /media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../lib/gcc/arm-linux-uclibceabi/6.3.0/ -isysroot /media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../target - -mtls-dialect=gnu
ignoring duplicate directory "/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../lib/gcc/../../lib/gcc/arm-linux-uclibceabi/6.3.0/include"
ignoring nonexistent directory "/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../target/usr/local/include"
ignoring duplicate directory "/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../lib/gcc/../../lib/gcc/arm-linux-uclibceabi/6.3.0/include-fixed"
ignoring duplicate directory "/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../lib/gcc/../../lib/gcc/arm-linux-uclibceabi/6.3.0/../../../../arm-linux-uclibceabi/include"
#include "..." search starts here:
#include <...> search starts here:

 头文件搜索路径:

/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../lib/gcc/arm-linux-uclibceabi/6.3.0/include
 /media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../lib/gcc/arm-linux-uclibceabi/6.3.0/include-fixed
 /media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../lib/gcc/arm-linux-uclibceabi/6.3.0/../../../../arm-linux-uclibceabi/include
 /media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../target/usr/include

End of search list.
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "<stdin>"
main(){}
COMPILER_PATH=/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../libexec/gcc/arm-linux-uclibceabi/6.3.0/:/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../libexec/gcc/:/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../lib/gcc/arm-linux-uclibceabi/6.3.0/../../../../arm-linux-uclibceabi/bin/

 

库的搜索路径:
LIBRARY_PATH=/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../lib/gcc/arm-linux-uclibceabi/6.3.0/:/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../lib/gcc/:/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../lib/gcc/arm-linux-uclibceabi/6.3.0/../../../../arm-linux-uclibceabi/lib/:/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../target/lib/:/media/app_disk/sdk/hisi/Hi3516EV200R001C00SPC020/Hi3516EV200R001C01SPC002/arm-himix100-linux/arm-himix100-linux/host_bin/../target/usr/lib/
COLLECT_GCC_OPTIONS='-E' '-v' '-mtls-dialect=gnu'

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值