LinuxTOY 是一个致力于提供 Linux 相关资讯的专题站点。如果您发现了好用好玩的 Linux 东东并愿意发扬自由、分享的精神,可以点击顶部导航 Contact 按钮进行投稿。

Related entries

  • No related posts

distcc:分布式 cc

[撰文/hmy]

简单说来就是,可以把一个编译任务分发到多个机器上去编译,多个 cpu 同时编译当然要比一个 cpu 来的快。多个机器的编译环境最好是一致。还能监视各个机器的编译情况。

distcc

参考

  1. http://distcc.samba.org (distcc 2.x)
  2. http://code.google.com/p/distcc/ (distcc 3.x)

署名 • 注明出处 • 非商业性使用

15 Comments

  1. 1 自由建客 Commented @ 2008-09-06 10:51 pmReply to this comment

    这不就是gentoo用那个嘛!

  2. 2 rgaobj Commented @ 2008-09-06 10:51 pmReply to this comment

    如果GENTOO安装时能够使用这个软件那可太棒了

  3. 3 Joel Commented @ 2008-09-06 10:57 pmReply to this comment

    rgaobj: 看这里 http://www.gentoo.org/doc/en/distcc.xml

  4. 4 shelling Commented @ 2008-09-06 10:57 pmReply to this comment

    這和 make -j[num] 有什麼不一樣?

  5. 5 pythonikkat Commented @ 2008-09-06 10:59 pmReply to this comment

    @shelling
    make -j[num]也能跨机器吗?原来一直只是在一个多核的机器上用.

  6. 6 rgaobj Commented @ 2008-09-06 11:07 pmReply to this comment

    Joel,多谢,以前从没注意过,就是因为GENTOO编译时间太长选择了ARCH,眼拙啊

  7. 7 shelling Commented @ 2008-09-06 11:20 pmReply to this comment

    @pythonikkat
    哦 沒看清楚 XD

  8. 8 leafduo Commented @ 2008-09-06 11:43 pmReply to this comment

    问题是没有那么多机器

  9. 9 yegle Commented @ 2008-09-06 11:53 pmReply to this comment

    没有详细的资料……想搞都没啥希望……

  10. 10 yegle Commented @ 2008-09-07 12:07 amReply to this comment

    对不起我收回我的话……在gentoo里用distcc真爽……

  11. 11 fcicq Commented @ 2008-09-07 2:23 amReply to this comment

    这个是 distcc 3.X, 和原来的 distcc 2.X 有不小的区别, 3.x 还没有被主流支持.

  12. 12 Leo Commented @ 2008-09-07 10:28 amReply to this comment

    不错,好是好,但是现在还用不到…

  13. 13 Reiase Commented @ 2008-09-07 1:08 pmReply to this comment

    嵌入式开发用distcc也挺多的,native编译比cross要方便很多

  14. 14 bones7456 Commented @ 2008-09-08 10:14 amReply to this comment

    近来toy的文章都很简洁啊,呵呵~~

  15. 15 93free Commented @ 2008-09-10 10:30 amReply to this comment

    @Joel
    还是看这里吧:)
    http://www.gentoo.org/doc/zh_cn/distcc.xml