diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-03-15 16:40:00 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2006-03-15 16:40:00 +0000 |
commit | 5b082fd9ba7ad2bbab025f01fb350102312af69c (patch) | |
tree | d529ba1238f234e6f33b5f69d08d96dd1ecdc192 /Mig | |
parent | b7629680ad58416022fcb8d5e396cc9355c8264e (diff) |
none
Diffstat (limited to 'Mig')
-rw-r--r-- | Mig/BuildingMIG.mdwn | 46 |
1 files changed, 46 insertions, 0 deletions
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 @@ +# <a name="Building_the_Mach_Interface_Gene"> Building the Mach Interface Generator from Source </a> + +If you want to build the Mach Interface Generator yourself instead of just using a pre-built package, follow these instructions. + +## <a name="Getting_the_Source_Code"> Getting the Source Code </a> + +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. + +## <a name="Preparing_for_the_Build"> Preparing for the Build </a> + +### <a name="_on_Debian_systems"> ... on Debian systems </a> + +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 + +### <a name="_on_non_Debian_systems"> ... on non-Debian systems </a> + +[TODO] + +## <a name="Building"> Building </a> + +### <a name="_a_deb_file"> ... a _.deb_ file </a> + +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 + +### <a name="_TODO_"> [TODO] </a> + +[TODO] |