It sounds like you need a reminder that OS X is not based on BSD, it's a different operating system that had a lot of BSD stuff grafted on to the side of it - like Windows, but moreso. Also, BSD doesn't provide a compiler - they use GNU's compiler, and are switching to Apple's compiler.