linux开发辅助命令记录

1.察看编译器默认搜索路径

echo | g++ -v -x c++ -E -

2.察看生成文件的依赖

ldd ./your_app

交叉编译器:

arm-none-linux-gnueabi-readelf -a ./test | grep Shared

3.察看文件信息

file ./your_app


你可能感兴趣的:(c,linux,File,编译器)