Author Topic: Additional compiler flags  (Read 1725 times)

salaamq

  • Guest
Additional compiler flags
« 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

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2464
Re: Additional compiler flags
« Reply #1 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.