Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Deathly on March 02, 2011, 01:54:46 am

Title: How to produce assembly language from GCC GNU Compiler in Codeblocks
Post by: Deathly on March 02, 2011, 01:54:46 am
I'm learning C++ from Eckel's text, and one of exercises asks to create assembly language for a struct in C and C++ to see how they differ and to see the name decoration that C++ does.

Perhaps I'm googling the wrong words ("compile C into assembly"), but I can't figure out how to do this.

Any suggestions?
Title: Re: How to produce assembly language from GCC GNU Compiler in Codeblocks
Post by: oBFusCATed on March 02, 2011, 08:21:38 am
http://stackoverflow.com/questions/137038/how-do-you-get-assembler-output-from-c-c-source-in-gcc

"gcc asm output" was the search string...