For anyone building Arch for i586, here are some PKGBUILDs for setting up a cross-compiling toolchain on your i686 Arch boxes to act as distcc helpers when building packages on your i586 machine.
www.istop.com/~r6dh7/i586cross-PKGBUILDs.tar.bz2 You should: (1) Build/install binutils package (2) Build/install gcc-bootstrap package (3) Build/install glibc package (4) Build gcc-final package (5) Remove gcc-bootstrap package (6) Install gcc-final package (7) Edit /etc/conf.d/distcc-i586 as you want (8) Start /etc/rc.d/distccd-i586 (Note: the above packages are meant to coexist on your system with the original archlinux binutils/gcc/glibc packages, don't remove your existing base packages!) I basically took the original arch binutils/gcc/glibc PKGBUILDs and modified them following the instructions from the cross-lfs project: http://cross-lfs.org/view/1.0.0/x86/cross-tools/chapter.html#ch-cross-tools-introduction I'm far from an expert on cross-compiling, so (1) You use these PKGBUILDs at your own risk, you're on your own if they screw up either your i586 or i686 boxes -- but please let me know if they do. I haven't had any problems so far... (2) I'd welcome any comments from anyone who is knowledgable about cross-compiling. Cheers. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
