summaryrefslogtreecommitdiff
path: root/microkernel
diff options
context:
space:
mode:
authorAndrew Engelbrecht <sudoman@ninthfloor.org>2011-08-02 22:55:28 -0400
committerAndrew Engelbrecht <sudoman@ninthfloor.org>2011-08-02 22:55:28 -0400
commitab4696b26f174fda48d79930e8fb703ec2c19b25 (patch)
tree40b663f29ec2573014ffbb985dacefd84a1af5d0 /microkernel
parent8ab4c8bd7df48a2d4aeb7ab09e6e7400b5d0efe2 (diff)
Updated commands for building gnumach
Diffstat (limited to 'microkernel')
-rw-r--r--microkernel/mach/gnumach/building.mdwn19
1 files changed, 11 insertions, 8 deletions
diff --git a/microkernel/mach/gnumach/building.mdwn b/microkernel/mach/gnumach/building.mdwn
index d1f4a497..6d030d3e 100644
--- a/microkernel/mach/gnumach/building.mdwn
+++ b/microkernel/mach/gnumach/building.mdwn
@@ -72,31 +72,34 @@ You first have to create the automatically generatable files:
### Installing only the Header Files
-GNU Mach should be built in a separate directory:
+GNU Mach and its headers should be built in separate directories:
- $ mkdir gnumach-build
- $ cd gnumach-build
+ $ cd ..
+ $ mkdir gnumach-build-h
+ $ cd gnumach-build-h
-Find the path to your GNU Mach sources (`[...]/gnumach-1-branch`) and configure
+Find the path to your GNU Mach sources (`../gnumach`) and configure
it:
- $ [...]/gnumach-1-branch/configure --prefix=
+ $ ../gnumach/configure --prefix= --host=i686-unknown-linux-gnu
Install the header files into e.g. `~/gnu/include/`:
- $ make DESTDIR=~/gnu install-data## Building and Installing
+ $ make DESTDIR=~/gnu install-data
### Building and Installing
GNU Mach should be built in a separate directory:
+ $ cd ..
$ mkdir gnumach-build
$ cd gnumach-build
-Find the path to your GNU Mach sources (`[...]/gnumach-1-branch`) and configure
+Find the path to your GNU Mach sources (`../gnumach`) and configure
it:
- $ [...]/gnumach-1-branch/configure [TODO]
+ $ CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386'
+ $ ../gnumach/configure --host=i686-unknown-linux-gnu
Build the kernel image: