The real hard-core hackers can look at the assembly code generated by the compiler. Sometimes you need this to track down compiler problems or OS problems. Or you can browse around just for general amusement and education. To get the assembly code, compile with the -S flag, and the results will be put into an .s file based on the name of your source file. For instance, running
gcc -g -Wall -S preprocTest.m
will create a preprocTest.s. If you want to assemble the resulting file, feed it to the compiler like this:
gcc -o preprocTest preprocTest.s
Xcode 3 provides a Show Assembly Code item in the editor’s contextual menu so you can see what ...