|
|
|
|
|
by shabble
4107 days ago
|
|
> No major language implementation that I'm aware of compiles to assembly. I believe 'gcc -S' would demonstrate not. If my understanding is correct, it produces essentially asm internally regardless of that flag, but subsequently assembles and links it without presenting it externally, -S just makes it stop and dump the asm. No idea about other C compilers, but it wouldn't surprise me if they have some similar feature. |
|
So common that it is unclear to me which of producing textual asm output or machine code is most common. Certainly there's been periods were the attitude was that producing machine code directly was unnecessarily complex and didn't belong in the compiler.