• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            posts - 319, comments - 22, trackbacks - 0, articles - 11
              C++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            XCODE 4.3 WITH NO GCC?

            Posted on 2012-04-07 21:50 RTY 閱讀(740) 評論(0)  編輯 收藏 引用 所屬分類: C/C++ 、Mac os 、轉(zhuǎn)載隨筆

            真的坑爹,今天才開始玩MAC OX,裝了個(gè)最新版本的10.7.3,只能裝XCODE 4.3 這個(gè)月剛發(fā)行的版本。

            安裝時(shí)發(fā)現(xiàn)沒有install過程,直接雙擊就進(jìn)入開發(fā)環(huán)境了。而且裝完后沒有g(shù)cc 等各種編譯工具,在TERMINAL下各種命令不識別,想裝ruby的各種開發(fā)工具,都不行了。

             

            查了半天才發(fā)現(xiàn):

            Apple announced Xcode 4.3 for OSX Lion and 4.4 for OSX Mountain Lion last week. The major difference is that Xcode no longer provide an installer which is good thing because you now could update Xcode with AppStore in the future, plus it is much easier to carry the development environment with you. However, there is a little problem with this new version of Xcode, is that all command line toolsets and compilers are not visible in terminal. 

            解決方案一:
            A simple fix is to update your PATH env:

            export PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH

            Please be noted that clang does not reside in /Developer/usr/bin, it is now in /Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

            Now you could access to gcc, g++, git or any toolsets bundled with Xcode. For your convenience, it is recommended to include it in your .bash_profile.

            解決方案二:

            You can install these additional tools directly in Xcode :
            Preferences > Downloads > Command Line Tools > Install


            SO. What a fUUUcking day!

            久久亚洲高清综合| 97久久国产露脸精品国产| 久久精品国产精品青草app| 久久福利青草精品资源站免费| 99久久精品国产一区二区蜜芽| 伊色综合久久之综合久久| 久久亚洲精品人成综合网| 99久久综合狠狠综合久久| 久久午夜福利无码1000合集| 久久久无码一区二区三区| 久久国产午夜精品一区二区三区| 久久狠狠爱亚洲综合影院| 色偷偷888欧美精品久久久| 久久久久久精品免费免费自慰| 精品久久久久久综合日本| 欧美亚洲国产精品久久高清| 青青青国产成人久久111网站| 国产成人精品综合久久久| 99久久精品国产毛片| 无码人妻精品一区二区三区久久久 | 亚洲国产成人久久一区久久| 久久国产精品无码HDAV| 久久久久亚洲国产| 日韩久久无码免费毛片软件| 国产精品久久99| 亚洲国产精品成人久久| 欧美精品九九99久久在观看| 国产精品九九久久精品女同亚洲欧美日韩综合区 | 久久精品极品盛宴观看| 久久av高潮av无码av喷吹| 99久久99久久久精品齐齐| 人妻精品久久久久中文字幕一冢本| 伊色综合久久之综合久久| 亚洲美日韩Av中文字幕无码久久久妻妇| 亚洲狠狠综合久久| a级毛片无码兔费真人久久| 久久最近最新中文字幕大全| 香港aa三级久久三级| 精品久久久久国产免费| 久久久精品波多野结衣| 久久无码国产|