Do programming language compilers first translate to assembly or directly to machine code?

前端 未结 13 2008
渐次进展
渐次进展 2020-12-02 09:52

I\'m primarily interested in popular and widely used compilers, such as gcc. But if things are done differently with different compilers, I\'d like to know that, too.

13条回答
  •  广开言路
    2020-12-02 10:34

    Visual C++ has a switch to output assembly code, so I think it generates assembly code before outputting machine code.

提交回复
热议问题