News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Additional compiler flags

Started by salaamq, January 19, 2013, 12:08:59 AM

Previous topic - Next topic

salaamq

So I'm trying to setup code:blocks with the xcode compiler on my mac. I have xcode all downloaded and installed, but the wiki says the following need to be added:

Additional compiler flags:
-isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2

Where exactly do I add this in?

Here's the link to the wiki page
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Mac_OS_X

BlueHazzard

Hello
in the menu "Project->Build options": select your project in the left list. Then "Compiler Settings->Other Options" paste you additional Compiler Options for the whole project.