help-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compile gnumach in Linux


From: Ognyan Kulev
Subject: Re: compile gnumach in Linux
Date: Wed, 18 Apr 2001 15:27:14 +0300
User-agent: Mutt/1.3.15i

On Tue, Apr 17, 2001 at 01:25:41AM +0700, h3v4@inf.its-sby.edu wrote:
> why i can not compile gnumach in Linux 2.2.17 ??
> i hope i can do that ....
> can i do that ?

Here is an extract from the GNUMach page I'm preparing for the new
hurd.gnu.org.  If you have any comments please send them to web-hurd@gnu.org
mailing list.

----------------------------------------------------------------------

Getting and compiling on Linux

First you have to get gcc and mig working with target Hurd. If you have Debian
GNU/Linux 2.2 (potato) installed you can just install packages gcc-i386-gnu and
mig-i386-gnu:

# apt-get install gcc-i386-gnu mig-i386-gnu

The next thing is to get the sources of GNUMach. The easiest way to do so is to
get them from the CVS:

$ export CVSROOT=:pserver:anoncvs@subversions.gnu.org:/cvs
$ cvs login #hit enter when you are asked for a password
$ cvs -z3 checkout gnumach

Before doing anything you have to set the environment so that the default
compiler to be i386-gnu-gcc:

$ export PATH=/usr/i386-gnu/bin:$PATH

Now you are ready to configure GNUMach. Read gnumach/i386/README-Drivers and
write down which drivers you need. Then configure and compile GNUMach
(configuration options are for example only):

$ cd gnumach
$ mkdir build
$ cd build
$ ../configure i386-pc-gnu --enable-floppy --enable-aic7xxx
  --enable-3c90x
$ make

Your new kernel is named kernel and it is ready to be copied to /boot and
loaded by Grub.

----------------------------------------------------------------------

-- 
Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""



reply via email to

[Prev in Thread] Current Thread [Next in Thread]