On Mon, Oct 13, 2014 at 1:57 AM, Thomas Schwinge <tho...@codesourcery.com> wrote: > Hi! > > On Sun, 12 Oct 2014 23:35:41 +0530, vibi sreenivasan <mail.v...@gmail.com> > wrote: >> I am trying to build gnumach from git repo as per the instructions in >> https://www.gnu.org/software/hurd/microkernel/mach/gnumach/building.html > >> [...] >> checking for i686-unknown-linux-gnu-mig... no >> checking for mig... no >> configure: error: The MiG generator is required to build GNU Mach >> >> >> But link says that after configure, we have to install headers & then >> compile mig. >> >> Please let me know what i am doing wrong. > > This is due to: > > commit b28e05e203e0739fa5db59c5af378b29eea7a232 > Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> > Date: Fri Apr 25 20:39:23 2014 +0200 > > Make sure mig is available > > * configure.ac (MIG): Error out if MiG was not found. > > We either have to update the instructions (first configure with »MIG=:« > (untested), then have to re-configure once MIG has been built), or revert > that commit.
I've been using this configure command to install headers: ./configure CC='i686-pc-gnu-gcc -nostdlib' MIG=i686-pc-gnu-mig ... The configure script tries and fails to create executables before glibc is built, hence the "-nostdlib". It seems to be hard-coded to abort if MIG=:, but it doesn't look like it uses its value otherwise for installing the headers. Thanks. David