delayed syncing of Xcode 4.4 Command Line Tools on Lion with ML

Jeremy Huddleston Sequoia jeremyhu at macports.org
Thu Aug 9 17:53:51 PDT 2012


On Aug 9, 2012, at 17:08, Jack Howarth <howarth at bromo.med.uc.edu> wrote:

>   Did anyone else notice that the initial release of Xcode 4.4 on Lion seemed to install an
> older version of the Command Line Tools on Lion than on Mountain Lion?

Yes, that was discussed on this mailing list.  It should be fixed now (you should see an "install" or "update" button in XCode for command line tools to install the correct versions).  The issue only affected the tools installed from within XCode on Lion after upgrading from XCode 4.3.  You still had the option of installing the correct package from http://connect.apple.com

> Also, when the Xcode
> 4.4.1 update was released it didn't initially seem to have a Command Line Tools update for
> Lion (at least through the Preferences panel in Xcode).

I don't know if the command line tools needed to be revved for any bugs in the 4.4.1 release or not, but if all the changes were XCode related and not tools related, I'd expect the tools to stay at the old version.

> I was happily surprised today to 
> find that a Command Line Tools update appeared in the preferences panel of Xcode 4.4.1
> on Lion and that this update brings clang and the linker to the same versions as on ML.

Actually, I believe that command line tools "update" should appear independently of XCode 4.4.1.  If you had installed 4.3's tools with 4.4 due to that bug, you should see an update to get the correct 4.4 tools.

> This fixes a number of linker bugs such as radr://10466868, "-undefined dynamic_lookup linker bug"
> and provides a much more satisfying endpoint for Xcode on Lion than the initial Xcode 4.4
> release.

That fix was actually in the initial XCode 4.4 release.  You just had the 4.3 command line tools installed at /usr due to an unrelated bug.

--Jeremy



More information about the macports-dev mailing list