Building without bootstrapping
Kai Ruottu
karuottu@mbnet.fi
Mon Mar 19 06:38:00 GMT 2007
Paul Brook wrote:
>> How can I get the build scripts to use the precompiled gcc throughout
>> the build process ?
>>
>
> Short answer is you can't. The newly build gcc is always used to build the
> target libraries.
>
Nice statement but what does this really mean?
Does this for instance mean that: "The newly build gcc is always used
to build the
target C libraries ? A native GCC builder now expecting those
'/usr/lib/*crt*.o'
startups, '/lib/libc.so.6', '/lib/ld-linux.so.2', '/usr/libc.a' etc.
"target libraries" being
rebuilt with the new "better" GCC to be "smaller and quicker" ?
Even some fanatic "people should always rebuild the target C library
from its
pristine (FSF) sources"-guys have publicly given statements like "nobody
should
consider replacing the native runtime target libraries with something
built oneself!".
So maybe in a native GCC build it is not expected that people really
would rebuild
"the target libraries" with the new GCC...
Meanwhile with a crosscompiler this thing seems to be totally on the
contrary, even
in cases where the target C library with those runtime libraries exists,
still everyone
should replace it with a self-made C library. Nowadays there even
aren't any
instructions available for producing a crosscompiler with an existing
target C library!
More information about the Gcc
mailing list