User forums > Help
How to set up the compiler?
(1/1)
LosConikos:
Hey,
I have to compile my projects with one of the following expressions:
--- Code: ---gcc -std=c89 -pedantic -Wall -Wextra
gcc -std=c99 -pedantic -Wall -Wextra
--- End code ---
However, I don't know where to enable these options in Code:Blocks. Can somebody help me?
oBFusCATed:
Create a project and then project -> build options.
Please read the manual, too.
LosConikos:
Ok, that's where I supposed it to be. However, I can't figure out where to set
--- Code: ---gcc -std=c89
--- End code ---
? Is it in "other options"?
And what's the difference between project --> build options and settings --> compiler and debugger ?
oBFusCATed:
Yes the other options.
The project options are for the project, the settings -> compiler is global for the selected compiler, then applies to all projects and it is not recommended to put anything there.
LosConikos:
Thanks... You helped me a great deal ;-)
Navigation
[0] Message Index
Go to full version