首页 > 系统服务 > 详细

linux C file format analysis

时间:2019-11-14 18:31:50      阅读:74      评论:0      收藏:0      [点我收藏+]

c语言文件格式

source file

file.c 
  • C source, ASCII text

 

pretreatment 预处理文件

file.i 
  • C source, ASCII text

 

assembler file 汇编文件

file.s    
  • assembler source, ASCII text
  • can only assembler 

 

file.S   
  • assembler source, ASCII text
  • can pretreatment + assembler
      

object file 目标文件

file.o    
  • ELF 32-bit LSB relocatable
  • type ELF, need link to turn exe file
 

exe file 可执行文件  

file.bin               
  • .S to bin ,only bin data, not include address 
 
file
file.out 
file.elf   
  • ELF 32-bit LSB executable
  • type ELF ubder Linux , object file,
 
file.hex             
  • ASCII text 
  • burn into board, include data and address
                 

linux C file format analysis

原文:https://www.cnblogs.com/kumata/p/11859046.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!