Building binutils "bootstrap"-wise

Ian Lance Taylor ian@airs.com
Fri Mar 1 17:33:00 GMT 2002


Nick Clifton <nickc@cambridge.redhat.com> writes:

> Hmm - Well there is certainly no reason why bootstrapping targets
> could not be included in the makefiles.  I guess it is a question of
> whether people would actually use them when testing their patches.

There is already a bootstrap target in the gas Makefile and the ld
Makefile.  In either case, it will do a full three-stage bootstrap
test.  (Well, they used to; I haven't tested them recently.)

There is no full three stage bootstrap which uses both the linker and
the assembler.  That is, there is no three stage test which ensures
that the linker can correctly link the files which the assembler
generates.

It would be quite easy to modify the gas bootstrap test to use the
newly built linker, if there is one.  That would be a full three-stage
bootstrap.

Ian



More information about the Binutils mailing list