交叉编译工具链readelf

readelf -A

可查看文件运行架构、大小端等信息:

guanlin@ubuntu:~/CodeBackup/openni2.3/Bin/Arm-Release$ /home/guanlin/arm-hisiv300-linux/bin/arm-hisiv300-linux-uclibcgnueabi-readelf -A SimpleRead 
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "5TE"
  Tag_CPU_arch: v5TEJ
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-1
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_enum_size: int
 

猜你喜欢

转载自blog.csdn.net/guanguanboy/article/details/84103182