laskuma
V2EX  ›  macOS

Timemachine恢复后gcc make等指令用不了了

  •  
  •   laskuma · Jun 8, 2012 · 2932 views
    This topic created in 5121 days ago, the information mentioned may be changed or developed.
    差不多一个多礼拜前分区崩了只好用timemachine恢复。
    这段时间正好没写C的东西,心血来潮昨天想写一点,发现gcc用不了。于是下载GCC,很奇怪的是我xcode在分区崩溃之前就已经安装好很久了,也使用了一段时间,恢复之后xcode还有但是gcc却没了。。。
    gcc安装好后编译,发现整个c library都没有。显示stdio.h不存在...尝试编译以前的project,用make发现make也用不了= =。
    求个解。谢谢啦!
    2 replies    1970-01-01 08:00:00 +08:00
    yangruixuan
        1
    yangruixuan  
       Jun 8, 2012
    据说TimeMachine和Ghost不一样,不是全备份的
    laskuma
        2
    laskuma  
    OP
       Jun 8, 2012
    @yangruixuan 仔细想了一下。我之前装的是xcode4.2自带command line tools,现在恢复成4.3估计是这货没装上。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2930 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 15:14 · PVG 23:14 · LAX 08:14 · JFK 11:14
    ♥ Do have faith in what you're doing.