bug-hurd
[Top][All Lists]
Advanced

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

Re: trying to build gnumach.gz


From: Samuel Thibault
Subject: Re: trying to build gnumach.gz
Date: Mon, 1 Aug 2011 21:56:35 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Andrew Engelbrecht, le Mon 01 Aug 2011 10:52:14 -0400, a écrit :
> I've installed the gnumach headers and mig, but I cannot get "make
> gnumach.gz" to work. I get the following error:

Are you building on some x86_64 linux?

In that case it's deemed to fail since linux will try to build gnumach
is 64bit mode. You need to cross-compile: install a 32bit version of
mig, and use this for configure:

CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386' 
./configure --host=i686-unknown-linux-gnu

Of course configure could be made to do this by itself, but the 32bit
mig installation is still mandatory.

Samuel



reply via email to

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