Reputation: 101
I need to compile a code written in C using gcc (in Xcode) with flag options -ansi -pedantic. I know how to change the compiler to gcc, however I don't know how to change the flags.
Thanks in advance.
Upvotes: 1
Views: 807
Reputation: 20088
Use the Other C Flags build setting to add compiler flags that aren't available in Xcode's build settings editor.
Upvotes: 1