[Top][All Lists]

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

Re: Missing files in gnumach?

From: Thomas Schwinge
Subject: Re: Missing files in gnumach?
Date: Thu, 12 Jan 2006 11:29:30 -0500
User-agent: Mutt/1.5.6+20040523i


On Thu, Jan 12, 2006 at 01:28:19PM +0100, Soren Jonsson wrote:
> I'm trying to compile mig, in order to examine the installation problem 
> on AMD64 processors. I have mounted the hurd partition on /media/hda3, 
> so this is the explaination for the pathes.
> I'm trying to compile the first file with the command:
> gcc -I/media/hda3/src/gnumach/include -S -x c -o cpu.symo cpu.symc

You'd better used a cross compiler and just `make' instead of compiling
things by hand.

If you have a Hurd partition mountable from GNU/Linux, creating a cross
compiler should be as easy as building cross-binutils
(e.g. binutils-2.16.1 or binutils-2_16-branch)

$ ./configure --prefix=somewhere --target=i586-pc-gnu
$ make
$ make install

... and cross-gcc (e.g. gcc-4_0-branch)

$ ./configure --target=i586-pc-gnu --enable-languages=c --prefix=somewhere 
$ make
$ make install

Then just add somewhere/bin to $PATH and configure MIG with
`--prefix=somewhere --target=i586-pc-gnu' and you should be done.

You can the cross compile other programs specifying `--host=i586-pc-gnu'.


reply via email to

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