Author Topic: Using the gnu compiler outside of code::blocks  (Read 4207 times)

Offline F1n

  • Single posting newcomer
  • *
  • Posts: 2
Using the gnu compiler outside of code::blocks
« 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Using the gnu compiler outside of code::blocks
« Reply #1 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
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline F1n

  • Single posting newcomer
  • *
  • Posts: 2
Re: Using the gnu compiler outside of code::blocks
« Reply #2 on: March 25, 2014, 05:42:45 pm »
Duly noted, thank you, that's the main thing I needed.