Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: F1n on March 25, 2014, 07:33:03 am

Title: Using the gnu compiler outside of code::blocks
Post by: F1n on March 25, 2014, 07:33:03 am
Hello all, firstly I apologize if this question is obvious or misplaced.

It's my understanding that the gnu compiler was downloaded along with Code::Blocks, since this is the compiler I choose when I write and run C++ programs. My problem is that I'm hoping to use gnu tools such as objdump and the debugger to view the assembly language translation of my compiled programs. Is there a way to either use this tool through Code::Blocks or use the gnu compiler on a text editor file (such as one from notepad++) via a command prompt, and if so what is the command sequence? I'm running Windows 7 by the way and I greatly appreciate the help.
Title: Re: Using the gnu compiler outside of code::blocks
Post by: oBFusCATed on March 25, 2014, 09:25:10 am
Apology not accepted, we have rules please follow them!

We can't comment or give support for other editors you have to ask on their support channels.
For running the commands - yes you can do it... just try it.

BTW: C::B's debugger plugin supports viewing the disassembly - Debug -> Debug windows -> Disassembly
Title: Re: Using the gnu compiler outside of code::blocks
Post by: F1n on March 25, 2014, 05:42:45 pm
Duly noted, thank you, that's the main thing I needed.