From 5b082fd9ba7ad2bbab025f01fb350102312af69c Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 15 Mar 2006 16:40:00 +0000 Subject: none --- Mig/BuildingMIG.mdwn | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Mig/BuildingMIG.mdwn (limited to 'Mig') diff --git a/Mig/BuildingMIG.mdwn b/Mig/BuildingMIG.mdwn new file mode 100644 index 00000000..416bb23f --- /dev/null +++ b/Mig/BuildingMIG.mdwn @@ -0,0 +1,46 @@ +# 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. + +## Getting the Source Code + +You can chose between getting the [sources from the developers's RCS](http://www.gnu.org/software/hurd/mig-download.html#cvs): + + $ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/hurd co 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 + +Please see [[Distrib/DebianFAQ]] before using _apt-get source_. + +The unpacked source tree is around [TODO]MiB, and the build tree is around [TODO]MiB. + +## Preparing for the Build + +### ... on Debian systems + +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 + +[TODO] + +## Building + +### ... a _.deb_ file + +Change into the directory with the downloaded / unpacked MIG sources, e.g. + + $ cd mig-[TODO] + +Start the build process with + + $ dpkg-buildpackage -us -uc -b -rfakeroot + +### [TODO] + +[TODO] -- cgit v1.2.3