Jason Nielsen wrote:
mkdir /tmp/buildPPC
cd /tmp/buildPPC
tar xvjpf stage3-* (grab the latest stage3-* tarball for PPC)
mount -o bind /proc /tmp/buildPPC/proc
cp /etc/resolv.conf /tmp/buildPPC/etc
chroot /tmp/buildPPC /bin/bash
env-update
source /etc/profile (most of this is just yanked form the install docs)
Now update you make.conf with appropriate use flags and CFLAGS
emerge sync
emerge -u portage


emerge -ueD system emerge -ueD world (build all the files with new CFLAGS/USE)

*you don't have to do the double step here but it mimics doing a bootstrap*
This will give you the equivalent of a personalized stage3, next emerge
whatever stuff you want.
emerge package1 package2 .....
when you are done emerging everything you need:
exit
umount /tmp/buildPPC/proc
tar cvjpf --numeric-owner PersonalPPC.tbz2 /tmp/buildPPC then when you do your install start from a stage 3 and of course use
PersonalPPC.tbz2 (except now you have more than that). Likely this won't
fit on a CD but not a big deal as you have 3 computers ;-)! Of course you can only do this on the machine with the x86-PPC cross compiler. Hope this is what you were looking for.

While not quite right for my situation, I'm sure these steps will help someone else who is in a similar situation. I'm looking for a way to use distcc along with a cross-compiler. I've been trying out some experimental new ebuilds for gcc-config and the compiler toolchains from zwelch. It worked for cross-compiling lsof with distcc, but it bombed out on xfree. The work is looking very promising, though.


--
Andrew Gaffney


-- [EMAIL PROTECTED] mailing list



Reply via email to