1

I have installed gcc4.7 (and hopefully the related version of stdlibc++ with it) through MacPorts, and I now need to enable it so that I can use it within Xcode (which is currently version 4.5). Does anybody know how to do that?

Thanks

tunnuz
  • 23,338
  • 31
  • 90
  • 128

1 Answers1

0

you can use "select" command of MacPorts.

port select --list gcc

will show the list of installed gcc(s).

sudo port select gcc

will activate installed gcc. should be specified one of that list. (ex. mp-gcc47

datsuns
  • 23
  • 2