From: James H. <jam...@ho...> - 2004-06-09 20:42:20
|
Ok, this is just a simple forward of Vanders instructions for compiling the kernel. I more or less just wanted to make sure that Bram and Daniel are subscribed here. Lets all get our Syllable systems to a point where we can compile the kernel. It does'nt take to much horsepower to do that actually, it's reasonably fast for me and I'm running under VMware. Anyways, let me know when you guys are ready to rock and the fun will begin. Let me know if you have any probs. -James PS - note that you want "makefile.rules" and not "make.rules" as stated below =) >From: Kristian Vandervliet <kri...@xe...> >To: 'James Hayhurst' <jam...@ho...> >Subject: RE: [Syllable-kernel] Compiling the kernel >Date: Wed, 9 Jun 2004 09:32:36 +0100 > >James Hayhurst wrote: > > How would I go about doing this? =) > > > > I have the developer tools installed (not the lone just > > released...but I do have GCC 3.3). > >At a minimum you need the following tools installed to properly >compile the kernel: > >Gcc-3.3 >Binutils 2.14 >Nasm >Make >M4 > >You'll also need CVS so that you can retrieve the latest headers >and kernel sources. > >You have two options: One is to use Builder. Install it as per. the >documentation. Retrieve the CVS sources: > >$ cvs co syllable/system/sys/kernel/kernel > >Build it with: > >$ cd syllable/system/sys/kernel >$ build > >You can also do it the manual way. There is a one-time setup you >need to perform before you can compile the kernel. The first >thing to retrieve are the files make.rules and recurse.rules: > >$ cvs co syllable/system/make.rules >$ cvs co syllable/system/recurse.rules > >Put them in /usr/src > >$ mkdir /usr/src >$ mv *.rules /usr/src/ > >Edit /etc/profile and edit/add the following lines: > >export ATHEOS_SRC=/usr/src/ >export ATHEOS_INCLUDE_PATH=/ainc/ > >You'll need to restart your Aterm for those to take effect. > >Now get the latest headers and sources from CVS: > >$ cvs co syllable/system/sys/include >$ cvs co syllable/system/sys/kernel/kernel > >Update your local headers > >$ cp -a syllable/system/sys/include/* /ainc/ >$ for f in `find /ainc/ -name CVS`;do rm -rf $f;done;rm /ainc/?akefile > >Now you can build the kernel > >$ cd syllable/system/sys/kernel/kernel/ >$ make > >-- >Vanders >http://www.syllable.org >http://www.liqwyd.com > >_____________________________________________________________________ >This message has been checked for all known viruses by Xenicom delivered >through the MessageLabs Virus Control Centre. _________________________________________________________________ Looking to buy a house? Get informed with the Home Buying Guide from MSN House & Home. http://coldwellbanker.msn.com/ |