I've had a bunch of requests for what I'm using to cross build. I've put up the cross compilation development patches that I have done so far at http://www.village.org/villagers/imp/freebsd-cross-1.patch.gz for anybody to give a test spin. There are no directions, but if you do a make buildworld TARGET=i386 TARGET_ARCH=i386 on an alpha, you should get a complete i386 world that can be installed on a i386 machine. It is critically important that you include both the TARGET and TARGET_ARCH on the command line, otherwise this won't work. They patch the two files that I needed to patch to get the cross building stuff working.
However, note that so far I've not gotten past building the libraries on mips, due to kernel include files I've not written/imported yet, so I don't know how far it will make it. I release these patches in the hopes they are useful. I don't know if this is the direction that FreeBSD wants to take wrt cross building binaries or not. It is certainly a good learning experience. I also don't know if our tools are up to the task of generating working alpha code on a i386 box. I got all kinds of warnings when I tried to do that which lead me to believe that the answer was no (things like shifts > 32 bits). Please let me know what you think of these patches. If you have updates to them, please let me know. I'd have to characterize them as a "rapid prototyping learning experience" at the moment. However, every time I tried to do something more elegant I ran into boatloads of problems. Warner To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message