Is there a way—much like viewing the result of preprocessing with gcc -E—to see what my objects look like once compiled into object files?
gcc -E
I
You can inspect the layout of binaries and their contents using map files. Use /MAP for VC and -Map or --print-map for gcc.
-Map
--print-map