Author Topic: How do I see what C::B executes in command line?  (Read 4583 times)

Offline jeffrodrigo

  • Single posting newcomer
  • *
  • Posts: 3
How do I see what C::B executes in command line?
« on: July 05, 2010, 07:53:29 pm »
Hello there!

Is there any way to see the how do C::B compiles my code?
There is one parameter that I don't know how to pass to gcc C compiler trhoug the command line (directly).

thnks

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: How do I see what C::B executes in command line?
« Reply #1 on: July 05, 2010, 08:34:23 pm »
Change "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline"

Offline nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Re: How do I see what C::B executes in command line?
« Reply #2 on: July 05, 2010, 09:42:43 pm »
Change "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline"

Can we have a context menu that help us  switch this setting when code is compiling?
I like the simple log while everything ok, but have to switch to "Full comandline" while got some error.....

sorry for my english.

Offline jeffrodrigo

  • Single posting newcomer
  • *
  • Posts: 3
Re: How do I see what C::B executes in command line?
« Reply #3 on: July 07, 2010, 07:38:19 pm »
Thanks for the answer! :)

Offline jeffrodrigo

  • Single posting newcomer
  • *
  • Posts: 3
Re: How do I see what C::B executes in command line?
« Reply #4 on: July 13, 2010, 06:24:49 pm »
nanyu,

The command line arguments are aways the same at the same project (but if you change arguments options).

When you get some errors, you'll probably find'em at your source code, not at the command line arguments for gcc compiler.

So, if everything is all right, compilation will succeed, and you'll have the full command line options and it will alays be the same.
If compilation don't succeed, you must look at your code.
So, anyway, in your case, you don't need to look at the command line arguments.

[]'s