arm下uclinux程序编译(elf2flt)

arm-elf-gcc -o test_e test.c -elf2flt

BFLT executable - version 4 ram

elf[exective linked file]: 一种为Linux系统所采用的通用文件格式,支持动态链接和重定位。  flat:扁平格式。elf文件有很大的头文件,flat格式对文件头和一些段信息做了简化,可执行程序小,适于嵌入式系统。 
elf2flt就是将elf格式转换为flt格式。  

 

arm-linux-gcc -o  test_l test.c 

ELF 32-bit LSB executable, ARM, version 1, dynamically linked (uses shared libs), for GNU/Linux 2.4.3, not stripped

原文地址:https://www.cnblogs.com/ahuo/p/2651607.html