Stanislaw Szymczyk has been working on the AROS self-compiling bounty since April. The job, according to its website, has been not a trivial task. Now that some issues with soft links and the SFS file format have been resolved, the job is almost finished.
First of all, the Linux-hosted version of AROS was not working on AMD64 hardware so he had to fix it as much as possible in the kernel and other packages such as the TCP/IP stack, zune/MUI, and the AHI sound system. This was just the beginning.
After that, lots of work,as Stanislaw itself writes:
It’s kind of funny fact that AROS being an AmigaOS-related system needs almost the whole GNU world to compile: not only gcc, make and binutils, but also coreutils, findutils, sed, bison/yacc, awk and more. AROS build system is quite complicated and to make things worse some packages have their own custom tools. For example there’s a Perl-based sfdc tool required to compile AHI. There are also a few Python scripts used in the build system.
The tools ported or modified by Stanislaw also include:
- A new static Python port
- Modifications to the POSIX compatibility layer of AROS implementing functions such as vfork() wait() and waitpid() and a nwe pipe handler in order to have a new Perl port
- An Autotools port
- A new version of Make using the new process management functions ported above
So far, the compilation is executed in RAM while Stanislaw is working on fixing dos.library in order to handle soft links correctly under SFS.
Stanislaw has prepared an AROS self-compilation live demo CD including all the ported tools and other programs needed to compile other open source programs (AROS itself included). Some notes about the CD, written by Stanislaw:
Currently you can use this Live CD to build AROS, Perl and Python in RAM Disk. Sources and patches are already included on CD. You will need at least 256 MB of RAM to build Perl or Python and at least 512 MB to build AROS.Building Perl or Python takes about half an hour on VMware Player running on Opteron 270 (2 x 2GHz). Complete AROS build takes about 6 hours in VMware Player running on the same hardware. Building AROS on real hardware takes about 4 hours on Athlon 64 X2 4400+ 2.3GHz (reported by Nikolaos Tomatsidis).
He was working on this last time I was in IRC…, hope he gets to the goal and gets the money, you deserve it dude. ๐ Well Done! ๐
An OS being able to compile itself is a breakthrough moment for said OS. It’s the point when an OS becomes self-sufficient. Many developers won’t bother with the OS until it reaches that point.
I just installed the latest build under Qemu, and it’s “getting there”… networking is still painful to setup (like it was on a real Amiga), but you know it’s getting there…..
It’ll be great when this work gets mainlined and that webkit port pokes up again….
Just like AmigaDOS was, it’s on the brink of usability.
AROS has always been one of my favorite alternate OSes and the fact that it’s now getting to a point where both the system itself and the native devtools work well enough to self-compile can only mean good things. Now if only someone would write some more nice apps for AROS (or at least pick up the last open source version of Lunapaint, which the author has cruelly decided to not only close source, but make commercial )
Compilation process was a bit cryptic for me and I was to lazy to dig deeper. Finally I can experiment with it.
The funny fact: right after I downloaded live CD I reboot Vista to apply latest MS patch and it successfully died =)