Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: jeffrodrigo 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
-
Change "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline"
-
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.
-
Thanks for the answer! :)
-
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