V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
laskuma
V2EX  ›  macOS

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

  •  
  •   laskuma · 2012-06-08 14:07:17 +08:00 · 2249 次点击
    这是一个创建于 4364 天前的主题,其中的信息可能已经有所发展或是发生改变。
    差不多一个多礼拜前分区崩了只好用timemachine恢复。
    这段时间正好没写C的东西,心血来潮昨天想写一点,发现gcc用不了。于是下载GCC,很奇怪的是我xcode在分区崩溃之前就已经安装好很久了,也使用了一段时间,恢复之后xcode还有但是gcc却没了。。。
    gcc安装好后编译,发现整个c library都没有。显示stdio.h不存在...尝试编译以前的project,用make发现make也用不了= =。
    求个解。谢谢啦!
    2 条回复    1970-01-01 08:00:00 +08:00
    yangruixuan
        1
    yangruixuan  
       2012-06-08 14:54:53 +08:00
    据说TimeMachine和Ghost不一样,不是全备份的
    laskuma
        2
    laskuma  
    OP
       2012-06-08 15:03:40 +08:00
    @yangruixuan 仔细想了一下。我之前装的是xcode4.2自带command line tools,现在恢复成4.3估计是这货没装上。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4989 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 07:31 · PVG 15:31 · LAX 00:31 · JFK 03:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.