+ -
当前位置:首页 → 问答吧 → gcc编译自动 bootstrapping了?

gcc编译自动 bootstrapping了?

时间:2008-11-15

来源:互联网

第5.5节,编译GCC第一遍。gcc自动bootstrapping了?
http://www.linuxfromscratch.org/lfs/...gcc-pass1.html
代码:
The following command will compile GCC not once, but several times. 
It uses the programs compiled in a first round to compile itself a second time, 
and then again a third time. It then compares these second and third 
compiles to make sure it can reproduce itself flawlessly. This is called “bootstrapping”. 
Building GCC in this way ensures that it was compiled correctly 
and is now the default configuration for the released package. 
Continue with compiling by running: 

make
在6.3里面还是用make bootstrap来编译的呢。

作者: tomgrean   发布时间: 2008-11-15

gcc 自 4.2 以後,默认是会 bootstrap 的

作者: d00m3d   发布时间: 2008-11-15

看到了,呵呵。谢谢
代码:
 --disable-bootstrap

 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.

作者: tomgrean   发布时间: 2008-11-15