Paul Brook wrote: > This suggests two options on what's supposed to happen: > (a) fix-header should actually be compiled for the "host" environment. If > host==build we run it, otherwise we just install it and let the user run it > on the build system.
I think this is the right option, though, probably, we should be using a build->target fixproto, rather than doing nothing. (Just like we run the build->target compiler to build libgcc.) In any case, I'd imagine that whatever do for fixincludes also applies to these programs; it seems like it should be built and run in the same way. For Canadian crosses, we have: if test "x$TARGET_SYSTEM_ROOT" = x; then if test "x$STMP_FIXPROTO" != x; then STMP_FIXPROTO=stmp-install-fixproto fi fi I'm not sure what the TARGET_SYSTEM_ROOT check is doing there; I'd think that ought to be unconditional, given the current Makefile. > (c) fixproto is only for crufty old systems no-one really cares about. It > should be disabled by default, and documented to not work for canadian > crosses. Hmm. A lot of the *-elf targets have use_fixproto=yes in config.gcc, which somewhat surpises me; I'd have thought newlib didn't require that. -- Mark Mitchell CodeSourcery, LLC [EMAIL PROTECTED] (916) 791-8304