c语言文件格式

source file

<pre class="brush:bash;gutter:true;">file.c 
  • C source, ASCII text

pretreatment 预处理文件

<pre class="brush:bash;gutter:true;">file.i 
  • C source, ASCII text

assembler file 汇编文件

<pre class="brush:bash;gutter:true;">file.s    
  • assembler source, ASCII text
  • can only assembler
<pre class="brush:bash;gutter:true;">file.S   
  • assembler source, ASCII text
  • can pretreatment + assembler

object file 目标文件

<pre class="brush:bash;gutter:true;">file.o    
  • ELF 32-bit LSB relocatable
  • type ELF, need link to turn exe file

exe file 可执行文件

<pre class="brush:bash;gutter:true;">file.bin               
  • .S to bin ,only bin data, not include address
<pre class="brush:bash;gutter:true;">file
file.out 
file.elf   
  • ELF 32-bit LSB executable
  • type ELF ubder Linux , object file,
<pre class="brush:bash;gutter:true;">file.hex             
  • ASCII text
  • burn into board, include data and address

标签: source, file, text, analysis, format, ELF, ASCII, assembler

相关文章推荐

添加新评论,含*的栏目为必填