Testing patches for 'foreign' targets
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Mon Jun 19 00:34:00 GMT 2000
> Question now is, how to test if the changes still compile without having to
> build a full cross compiler, i.e. without having libraries or headers for
> the target arch available?
You don't have to have target libraries to build a cross compiler; to
build the stage1 compiler, you only need the host compiler and
libraries.
Also, you don't have to build the entire thing. Just building xgcc and
cc1 would be sufficient, since this is where the target options are
really used.
I don't know whether it is feasible to build the compiler indeed for
all possible targets; I'd suggest to concentrate on the major ones
(major in both target chip and target system). For the others, perhaps
inspection of the changes is sufficient.
Regards,
Martin
More information about the Gcc
mailing list