summaryrefslogtreecommitdiff
path: root/microkernel/mach/gnumach/building.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'microkernel/mach/gnumach/building.mdwn')
-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: