summaryrefslogtreecommitdiff
path: root/microkernel
diff options
context:
space:
mode:
authorAndrew Engelbrecht <sudoman@ninthfloor.org>2011-08-02 22:05:54 -0400
committerAndrew Engelbrecht <sudoman@ninthfloor.org>2011-08-02 22:05:54 -0400
commit04696f4f6ffc57e2e7787160eab334e34fc5adfe (patch)
tree2f207beecc02545c9a32acc85bcefbc26afc673d /microkernel
parent635249e589fba5c0900923e1bbf1d2e60a3c1f29 (diff)
Mention 32 bit lib, also autoreconf; formatting
Diffstat (limited to 'microkernel')
-rw-r--r--microkernel/mach/mig/gnu_mig/building.mdwn15
1 files changed, 10 insertions, 5 deletions
diff --git a/microkernel/mach/mig/gnu_mig/building.mdwn b/microkernel/mach/mig/gnu_mig/building.mdwn
index 7d2f2ea3..23dad10c 100644
--- a/microkernel/mach/mig/gnu_mig/building.mdwn
+++ b/microkernel/mach/mig/gnu_mig/building.mdwn
@@ -41,22 +41,27 @@ You can then install / distribute the _.deb_ file which will drop out one direct
### <a name="Preparing_for_the_Build"> Preparing for the Build </a>
-Building the Mach Interface Generator requires a C compiler, a standard C library (with corresponding header files) and your favourite flavor of awk (gawk), yacc (bison), lex (flex) and make.
+Building the Mach Interface Generator requires a C compiler, a standard 32 bit C library (with corresponding header files) and your favourite flavor of awk (gawk), yacc (bison), lex (flex) and make.
-Additionally, you need to have GNU Mach's header files installed. See
-[[mach/gnumach/building]] about how to do that, then come back here.
+Additionally, you need to have GNU Mach's header files installed. See [[mach/gnumach/building]] about how to do that, then come back here.
### <a name="Building_and_Installing"> Building and Installing </a>
+First, generate the configuration files:
+
+ $ cd mig
+ $ autoreconf --install
+
The Mach Interface Generator has to be built in a separate directory:
+ $ cd ..
$ mkdir mig-build
$ cd mig-build
-Find the root directory where you installed GNU Mach's header files and where you now intend to install the Mach Interface Generator (_~/gnu_) and the path to your Mach Interface Generator sources (\_[...]/mig) and configure it:
+Find the root directory where you installed GNU Mach's header files and where you now intend to install the Mach Interface Generator (_~/gnu_) and the path to your Mach Interface Generator sources (../mig) and configure it:
$ GNU=~/gnu
- $ TARGET_CPPFLAGS=-I"$GNU"/include [...]/mig/configure --prefix="$GNU"
+ $ TARGET_CPPFLAGS=-I"$GNU"/include ../mig/configure --prefix="$GNU" --host=i686-unknown-linux-gnu
Build and install the Mach Interface Generator into _$GNU_, i.e. _~/gnu/_ in our example: