On 02.08.2010 14:00, Ulrich Weigand wrote: > Loïc Minier<loic.min...@linaro.org> wrote: >> and I think >> Debian/Ubuntu toolchains cheat in some areas; for some directories >> which would use $(version) we use $(major).$(minor) instead, and we >> have a $(version) -> $(major).$(minor) symlink. This doesn't really >> relate to the multiarch topic, but it reminds me that we ought to fix >> the distro divergences so that it's easier to swap an upstream >> toolchain with a Debian/Ubuntu one and vice-versa. > > Agreed. Not sure what this particular divergence helps ...
this is no "cheating". It makes the packages robust. Remember that some frontends are built from different source packages and that a gnat-4.4 (4.4.4) still needs to be buildable with a gnat-4.4 (4.4.3) and an already updated gcc-4.4 (4.4.4). The directory cannot just be changed because the name/version is still exposed with the -V option. There was some discussion to drop this one altogether, then something like a version_alias corresponding to the target_alias could be introduced. Of course linaro could build all frontends from one source, but then the two following issues have to be addressed: - gcj/libjava has to be built in arm mode even if gcc defaults to thumb mode. - build gnat from the linaro sources (this may be a problem with the bootstrap compiler, didn't investigate yet). Matthias _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain