c语言文件格式
source file
<pre class="brush:bash;gutter:true;">file.c
pretreatment 预处理文件
<pre class="brush:bash;gutter:true;">file.i
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