Hi Daniel, to have a consistent build it's mandatory to have the same toolchain. For this reason I think that distcc should be used only under this hypothesis. I'm using the external toolchain support and it works fine (I used ELDK's and CodeSourcery's toolchains with good results).
I'm not sure if cerate a tools package for distcc is a good idea or just add a prereq-build rule. my2EuroCents, luigi On Sun, Oct 18, 2009 at 12:37 PM, poelzi <poe...@poelzi.org> wrote: > Luigi Mantellini wrote: > >> As we have the external toolchain support, we can consider to add a >> distcc support. >> I produced the following patch that I never tested yet! >> >> Just some information: >> - distcc must be usable only if EXTERNAL_TOOLCHAIN is used (it's >> mandatory to have the same compiler on all hosts...) > > i would love to see distcc support and was thinking about it long ago :-) > > but one suggestion: I think requireing a external toolchain is not a > good idea as openwrt is designed for building its chain itself. As > distcc is a special case anyways i think it would be ok to make some > simple assumptions like each host in the distcc cluster does have the > same path to the openwrt buildchain and the same architecture. this > would allow to use the openwrt buildchain on all computers with the same > architecture at least. i think starting on an a 32 bit linux should also > allow running the chain on a 64 bit system when the 32 bit libs are > installed. maybe compiling static toolchain and forcing them to be 32 > bit would be a cool option in the future. > > kindly regards > daniel > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > -- Luigi 'Comio' Mantellini R&D - Software Industrie Dial Face S.p.A. Via Canzo, 4 20068 Peschiera Borromeo (MI), Italy Tel.: +39 02 5167 2813 Fax: +39 02 5167 2459 web: www.idf-hit.com mail: luigi.mantell...@idf-hit.com _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel