CRUX/SPARC port - Porting (rev3) ================================ 1. Install a distribution which is close to the target (in my case, gentoo) 2. Update kernel to whatever you plan to use 3. Download and install pkgutils 4. Get the ports tree 5. Build all ports from base (add patches if needed) 6. Install packages from #5 to a chroot directory 7. chroot into directory from #6 8. bootstrap glibc/gcc/binutils: I'm not sure if this is really needed like this, but here's what I did: Adjust the glibc port to use the correct header for your platform compile glibc against CRUX' gcc from -> glibc' compile gcc against glibc' -> gcc' compile binutils against glibc', gcc' -> binutils' compile glibc with gcc' and binutils' -> glibc'' compile gcc against glibc'' and with binutils' -> gcc'' compile binutils against glibc'' with gcc'' -> binutils'' 9. Rebuild everything in base with the new toolchain 10. install packages from #9 into new chroot directory 11. chroot into directory from #10 12. build ports from opt 13. Using packages from #9 and #12, create the ISO