summaryrefslogtreecommitdiff
path: root/microkernel/viengoos/building.mdwn
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2008-10-08 09:34:22 +0200
committerThomas Schwinge <tschwinge@gnu.org>2008-10-08 09:34:22 +0200
commita6e1f910fdd5da0181b85cf1ad3cd57b72a22297 (patch)
tree1aba6d7c5bfb9808f96d38f0928677de12fb8111 /microkernel/viengoos/building.mdwn
parent0baa631dbffa8148ebf7937dba50f8ddb30ea3a7 (diff)
Move to proper location.
Diffstat (limited to 'microkernel/viengoos/building.mdwn')
-rw-r--r--microkernel/viengoos/building.mdwn106
1 files changed, 106 insertions, 0 deletions
diff --git a/microkernel/viengoos/building.mdwn b/microkernel/viengoos/building.mdwn
new file mode 100644
index 00000000..8868c46c
--- /dev/null
+++ b/microkernel/viengoos/building.mdwn
@@ -0,0 +1,106 @@
+[[meta copyright="Copyright © 2008 Free Software Foundation, Inc."]]
+
+[[meta license="""[[toggle id="license" text="GFDL 1.2+"]][[toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled
+[[GNU_Free_Documentation_License|/fdl]]."]]"""]]
+
+## Viengoos build
+
+Checkout hurd-l4:
+
+ cvs -z3 -d :pserver:anonymous@cvs.savannah.gnu.org:/sources/hurd co hurd-l4
+
+Apply hurd-l4/libl4/ patch to change to gs:0 on line 35.
+
+Configure:
+
+ autoreconf -i
+ mkdir test build
+
+Make check on test (fails to complete as on July 7, 2008):
+
+ cd test
+ ../configure --enable-l4-abi=x2 --host=i686-pc-viengoos-gnu --enable-tests
+ make check
+
+Build the compiler:
+
+ cd ../build
+ ../configure --enable-l4-abi=x2 --host=i686-pc-viengoos-gnu --with-newlib
+
+Build cross-compiler:
+
+ make
+
+Build Viengoos proper:
+
+ make
+
+Install the built executables:
+
+ cd ..
+ mkdir install
+ install -s build/laden/laden install
+ install -s build/viengoos/viengoos install
+ install -s build/hieronymus/hieronymus install
+
+## BUILD L4
+
+Get Pistachio using hg:
+
+ hg clone http://hg.l4ka.org/l4ka-pistachio
+
+Build:
+
+ cd kernel
+
+ make BUILDDIR=build
+ cd build
+
+Check Makeconf.local:
+
+ make menuconfig
+ Kernel->Enable experimental features->Pager ExchangeRegisters
+
+ make
+
+## Build sigma0
+
+ cd user
+
+ autoheader
+ autoconf
+ ./configure
+ make
+
+## Test!
+
+Install all executables to /usr/local/hurd. Create a menu.lst
+
+ title The GNU Hurd on L4
+ root (hd0,0)
+ kernel /laden -D
+ module /x86-kernel
+ module /sigma0
+ module /viengoos -D 3 -o serial
+ module /hieronymus -D 3
+
+Get specific grub version:
+
+ wget ftp://alpha.gnu.org/gnu/grub/grub-0.97-i386-pc.ext2fs
+
+Use the following to boot:
+
+ qemu -serial stdio -hdb fat:/usr/local/hurd -fda grub-0.97-i386-pc.ext2fs -boot a
+
+At grub prompt:
+
+ grub> root (hd0,0)
+
+ grub> configfile /menu.lst
+
+It will boot to a kernel debugger prompt.