From 4583168b6fce700fc971aea3f0233d63c08d4cf2 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Wed, 3 Aug 2011 17:58:11 -0400 Subject: Improved line wrapping for 2 pages --- microkernel/mach/gnumach/building.mdwn | 9 +++++---- microkernel/mach/mig/gnu_mig/building.mdwn | 30 +++++++++++++++++++++--------- 2 files changed, 26 insertions(+), 13 deletions(-) (limited to 'microkernel') diff --git a/microkernel/mach/gnumach/building.mdwn b/microkernel/mach/gnumach/building.mdwn index fcef1a24..0bd554b4 100644 --- a/microkernel/mach/gnumach/building.mdwn +++ b/microkernel/mach/gnumach/building.mdwn @@ -12,7 +12,8 @@ You can either use the git repository (see Building the Mach Interface Generator from Source -If you want to build the Mach Interface Generator yourself instead of just using a pre-built package, follow these instructions. +If you want to build the Mach Interface Generator yourself instead of just +using a pre-built package, follow these instructions. ## Getting the Source Code -You can chose between getting the [sources from the developers' RCS](http://savannah.gnu.org/git/?group=hurd): +You can chose between getting the [sources from the developers' +RCS](http://savannah.gnu.org/git/?group=hurd): $ git clone git://git.savannah.gnu.org:/srv/git/hurd/mig.git -... or (if you are working on a Debian system) the ones that are used for the [current Debian mig package](http://packages.debian.net/source/unstable/mig): +... or (if you are working on a Debian system) the ones that are used for the +[current Debian mig package](http://packages.debian.net/source/unstable/mig): $ apt-get source mig @@ -20,7 +23,9 @@ The unpacked source tree is around 1 MiB, and the build tree also is around 1 Mi ### Preparing for the Build -Building the Mach Interface Generator requires the _build-essential_ and _fakeroot_ packages, their dependencies and additional packages that are specified by the source mig package: +Building the Mach Interface Generator requires the _build-essential_ and +_fakeroot_ packages, their dependencies and additional packages that are +specified by the source mig package: # apt-get install build-essential fakeroot # apt-get build-dep mig @@ -35,15 +40,19 @@ Start the build process: $ dpkg-buildpackage -us -uc -b -rfakeroot -You can then install / distribute the _.deb_ file which will drop out one directory above the current one. +You can then install / distribute the _.deb_ file which will drop out one +directory above the current one. ## On non-Debian Systems: ### Preparing for the Build -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. +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. ### Building and Installing @@ -57,7 +66,9 @@ The Mach Interface Generator should be built in a subdirectory: $ 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 ../configure @@ -71,7 +82,8 @@ Build and install the Mach Interface Generator into _$GNU_, i.e. _~/gnu/_ in our $ make all install -To make your _mig_ binary easily available, you should append something like the following to e.g. your _~/.bash\_profile_: +To make your _mig_ binary easily available, you should append something like +the following to e.g. your _~/.bash\_profile_: PATH=~/gnu/bin:$PATH export PATH -- cgit v1.2.3