I want to see the intermediate code generated during the compilation of a C
program.
Using the -S
flag, the object code is generated but is there anything to see the .i
files, called as intermediate code.
I want to see the intermediate code generated during the compilation of a C
program.
Using the -S
flag, the object code is generated but is there anything to see the .i
files, called as intermediate code.
If this is
gcc
* you also need-save-temps
after-S
gcc -S -save-temps file.cpp
would makefile.i
* By default,
gcc
is installed and linked tocc
. If you install another C Compiler,cc
will link to that.