summaryrefslogtreecommitdiff
path: root/microkernel
diff options
context:
space:
mode:
authorAndrew Engelbrecht <sudoman@ninthfloor.org>2011-08-03 19:00:35 -0400
committerAndrew Engelbrecht <sudoman@ninthfloor.org>2011-08-03 19:00:35 -0400
commita66b021e27e1608d192a61cd10027e3d0f5ca522 (patch)
tree0a2268e959fb71871a11889c40a9223eadaaef06 /microkernel
parent2500a001957eab720d190bf5f53abd3214fe91b7 (diff)
Fixed ../configure options issue/bug
Diffstat (limited to 'microkernel')
-rw-r--r--microkernel/mach/gnumach/building.mdwn28
1 files changed, 5 insertions, 23 deletions
diff --git a/microkernel/mach/gnumach/building.mdwn b/microkernel/mach/gnumach/building.mdwn
index 8284639b..eb3e0819 100644
--- a/microkernel/mach/gnumach/building.mdwn
+++ b/microkernel/mach/gnumach/building.mdwn
@@ -72,11 +72,11 @@ GNU Mach and its headers should be built in a subdirectory:
Find the path to your GNU Mach sources (`..`) and configure it:
- $ ../configure --prefix=
+ $ ../configure
-Use the --host flag on 64 bit systems:
+Use the --host flag and some options on 64 bit systems:
- $ ../configure --prefix= --host=i686-unknown-linux-gnu
+ $ CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386' ../configure --host=i686-unknown-linux-gnu
Install the header files into e.g. `~/gnu/include/`:
@@ -88,26 +88,8 @@ After you've already installed the header files (above), as well as the the
Mach Interface Generator, you may finish building GNU Mach. (See
[[building_MIG|mig/gnu_mig/building]], then come back here.)
-GNU Mach should be built in a subdirectory create it if you have not already.
-
- $ mkdir gnumach-build
- $ cd gnumach-build
-
-If you previously ran ../configure for installing the header files, you may run
-into a bug when you configure and run make below. If that is the case, empty
-the _build_ directory, and reconfigure.
-
- $ cd gnumach-build
- $ rm -rf *
-
-Find the path to your GNU Mach sources (`..`) and configure it:
-
- $ ../configure
-
-If you are building on a 64 bit system, do the following instead:
-
- $ CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386'
- $ ../configure --host=i686-unknown-linux-gnu
+GNU Mach should be built in the subdirectory created above. If you've cleared
+your directory since then, you'll need to rerun the configure script.
Build the kernel image: