C++ to asm converter.

Jan 13, 2012 at 7:22pm
Is there a way to convert C++ code to asm code? A software or something?

Thanks!
Jan 13, 2012 at 7:27pm
Yes, you can do this with software called a "compiler". :)

Here is how one does it with the popular g++ compiler:

g++ -S source.cpp
Last edited on Jan 13, 2012 at 7:28pm
Jan 13, 2012 at 7:55pm
Oh, yes, I forgot to mention: I have the Code::Blocks IDE. Can I do that in C::B? Where I have to put that line?
Jan 13, 2012 at 8:13pm
You have a compiler somewhere. Figure out which one, and go from there. If you installed the standard Code::Blocks binary installation for windows, you have the MinGW port of gcc and the above line is everything you need.
Last edited on Jan 13, 2012 at 8:15pm
Jan 14, 2012 at 11:14am
I've installed Code::Blocks for windows and I have the GNU GCC compiler. I think that the line above must be writed somewhere. Can you tell me where do I have to put that line?
Jan 14, 2012 at 6:52pm
Topic archived. No new replies allowed.