On Sat, 12 Jun 2004 09:52:29 +0200 Jochem Kossen <jkossen@xs4all.nl> wrote:
About building Crux.. I had a quick look at Per's Makefile and saw words like bootstrap and stageX that reminded me of building Gentoo. I'm not a Makefile expert, but the file is easy to read and decipher. Would I be right in saying that building Crux basically entails "make bootstrap" and then trying to fix up the compile errors associated with x86_64? I'd like to give this a go after the exam period when I'm hibernating.
Not sure about this, this is my first effort at porting to another arch. My idea was to build the base ports on a distro, pkgadd them in a chroot, and in that chroot run the make bootstrap. Otherwise you'd have everything compiled against libraries from the host distribution...
That's what Per's makefile does: builds packages for chroot on host sytem makes chroot bootstraps the system in 2 stages,recompiling all packages twice against libs from chroot. I'm sure you can modify it to suit your needs. HTH, Pedja