• <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++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

            XCODE 4.3 WITH NO GCC?

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

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

            安裝時發現沒有install過程,直接雙擊就進入開發環境了。而且裝完后沒有gcc 等各種編譯工具,在TERMINAL下各種命令不識別,想裝ruby的各種開發工具,都不行了。

             

            查了半天才發現:

            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!

            国产精品免费久久久久影院| 久久无码专区国产精品发布| 久久久无码精品亚洲日韩蜜臀浪潮| 久久精品国产亚洲5555| 欧美与黑人午夜性猛交久久久 | 久久高清一级毛片| 亚洲色欲久久久久综合网| 国内精品九九久久精品| 日本三级久久网| 久久久亚洲裙底偷窥综合 | 性做久久久久久久久老女人| 伊人久久大香线蕉亚洲五月天| 狠狠久久亚洲欧美专区 | 狠狠色婷婷久久一区二区三区| 99久久综合狠狠综合久久止| 久久伊人影视| 国产亚洲美女精品久久久久狼| 亚洲国产成人久久综合一区77| 久久国产色AV免费看| 亚洲?V乱码久久精品蜜桃 | 99久久婷婷国产综合亚洲| 久久久网中文字幕| 国产午夜电影久久| 久久国产乱子伦免费精品| 伊人久久综合无码成人网| 日韩电影久久久被窝网| 久久91精品综合国产首页| 香蕉久久夜色精品国产小说| 亚洲中文字幕久久精品无码APP| 国内精品免费久久影院| 欧美激情精品久久久久| 国产精品久久一区二区三区| 亚洲精品无码久久久久| 18禁黄久久久AAA片| 热久久视久久精品18| 久久影院亚洲一区| 久久九九久精品国产免费直播| 色综合合久久天天综合绕视看| 久久精品国产91久久麻豆自制| 国产精品久久国产精品99盘 | 久久天天躁狠狠躁夜夜不卡|