Status and rationale for toplevel bootstrap (was Re: Example of debugging GCC with toplevel bootstrap)

Shantonu Sen ssen@opendarwin.org
Mon Jan 16 17:39:00 GMT 2006


OK, so you want people to do

./configure  --build=powerpc-foo-bar --host=powerpc-foo-bar -- 
target=powerpc64-foo-bar --prefix=$PWD/native64-compiler
make
make install
CC=$PWD/native64-compiler/bin/gcc /configure  --build=powerpc64-foo- 
bar --host=powerpc64-foo-bar --target=powerpc64-foo-bar
make  <<implicitly bootstrap>>
rm -rf $PWD/native64-compiler

That would be really annoying for the same net effect, and something  
better managed by GCC's build machinery

Shantonu

On Jan 16, 2006, at 9:39 AM, Richard Kenner wrote:

>     Just to be clear, you're suggesting that if you have:
>
>     --build=powerpc-foo-bar --host=powerpc64-foo-bar -- 
> target=powerpc64-foo-bar
>
>     The user be able to specify something so that the build systems  
> knows
>     the build machine can execute the host binaries, and a 4-stage
>     bootstrap should occur?
>
> Well, that's possible, but I'd really prefer to avoid dealing with
> "bootstraps" of cross-compilers at all and stick to native  
> compilers, so
> no, I'm not really suggesting that.



More information about the Gcc mailing list