Author Topic: Additional compiler flags  (Read 1797 times)


  • 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

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2590
Re: Additional compiler flags
« Reply #1 on: January 19, 2013, 01:14:04 pm »
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.