<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jul 18, 2015 at 8:47 PM, Dave Horsfall <span dir="ltr"><<a href="mailto:dave@horsfall.org" target="_blank">dave@horsfall.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> On 10.10?<br>
> You have an ancient Xcode installed and you are lucky it only spit out a<br>
> complaint about kern.osversion instead of crashing.<br>
> Do not bet on it being usable or stable. Get rid of it.<br>
<br>
</span>I updated Xcode to 6.4 a couple of weeks ago; I always stay current.<br></blockquote></div><br>You have stuff under /Developer, though. Xcode hasn't used /Developer since 4.0.1 came out, and /Developer should be removed with the command I mentioned; otherwise you can run into odd problems as things find the old Xcode and use it.<br clear="all"><div><br></div><div>(You may have to reinstall the Command LIne Tools afterward, since it sounds like something has pointed cc at the ancient Xcode under /Developer.)</div><div><br></div><div>To make "cc" refer to the MacPorts gcc:</div><div> port select --set gcc mp-gcc47 (or whatever version you installed; try "port select --list gcc").</div><div> hash -r (this tells the shell to look for "cc" again instead of using a cached location)</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>