Code::Blocks Forums

User forums => Help => Topic started by: salaamq on January 19, 2013, 12:08:59 am

Title: Additional compiler flags
Post by: salaamq on January 19, 2013, 12:08:59 am
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
Title: Re: Additional compiler flags
Post by: BlueHazzard on January 19, 2013, 01:14:04 pm
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.