LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 644|回复: 2

gcc编译自动 bootstrapping了?

[复制链接]
发表于 2008-11-14 21:49:16 | 显示全部楼层 |阅读模式
第5.5节,编译GCC第一遍。gcc自动bootstrapping了?
http://www.linuxfromscratch.org/ ... er05/gcc-pass1.html

  1. The following command will compile GCC not once, but several times.
  2. It uses the programs compiled in a first round to compile itself a second time,
  3. and then again a third time. It then compares these second and third
  4. compiles to make sure it can reproduce itself flawlessly. This is called “bootstrapping”.
  5. Building GCC in this way ensures that it was compiled correctly
  6. and is now the default configuration for the released package.
  7. Continue with compiling by running:

  8. make
复制代码

在6.3里面还是用make bootstrap来编译的呢。
发表于 2008-11-14 22:57:33 | 显示全部楼层
gcc 自 4.2 以後,默认是会 bootstrap 的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-14 23:37:04 | 显示全部楼层
看到了,呵呵。谢谢
  1. --disable-bootstrap
  2.     Bootstrapping the compiler is now the default for GCC. However, our build method should provide us with a solid compiler without the need to bootstrap each time.
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表