From 635249e589fba5c0900923e1bbf1d2e60a3c1f29 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Tue, 2 Aug 2011 21:47:58 -0400 Subject: Separate Debian and non-Debian build instructions --- microkernel/mach/mig/gnu_mig/building.mdwn | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/microkernel/mach/mig/gnu_mig/building.mdwn b/microkernel/mach/mig/gnu_mig/building.mdwn index 33507283..7d2f2ea3 100644 --- a/microkernel/mach/mig/gnu_mig/building.mdwn +++ b/microkernel/mach/mig/gnu_mig/building.mdwn @@ -4,8 +4,7 @@ If you want to build the Mach Interface Generator yourself instead of just using ## 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 @@ -17,25 +16,16 @@ Please see the Debian [[hurd/running/debian/FAQ]] before using _apt-get source_. The unpacked source tree is around 1 MiB, and the build tree also is around 1 MiB. -## Preparing for the Build +## On Debian Systems: -### ... on Debian systems +### 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: # apt-get install build-essential fakeroot # apt-get build-dep mig -### ... on non-Debian systems - -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. - -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 - -### ... a _.deb_ file +### Building and Installing ... a _.deb_ file Change into the directory with the downloaded / unpacked MIG sources (_mig-1.3.1.99_): @@ -47,7 +37,16 @@ Start the build process: You can then install / distribute the _.deb_ file which will drop out one directory above the current one. -### [TODO] +## On non-Debian Systems: + +### Preparing for the Build + +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. + +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 The Mach Interface Generator has to be built in a separate directory: -- cgit v1.2.3