bug-hurd
[Top][All Lists]
Advanced

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

Re: Build Hurd toolchain


From: Thomas Schwinge
Subject: Re: Build Hurd toolchain
Date: Mon, 29 Oct 2007 20:48:08 +0100
User-agent: Mutt/1.5.11

Hello!

On Mon, Oct 29, 2007 at 07:08:03PM +0530, Shakthi Kannan wrote:
> Trying to build a cross-compiler Hurd toolchain on x86 (Debian Etch):

As building a proper cross compiler is not trivial (as you are
experiencing), may I ask why you need to build one?  There may very well
be a more easy way to achieve what you want to do.


> As suggested by Vitalie, I am using the following:
> 
> binutils-2.15
> gcc-3.4.3
> glibc-2.3.5
> gnumach-1-branch (from cvs)
> hurd (from cvs)
> mig-1.3 (from cvs)

I would suggest to use the same sources that Debian unstable is using and
also apply the patches from the Debian source packages, at least those
patches that are relevant for Hurd systems.  This is especially needed
for glibc, Hurd and GCC sources, as there are a bunch of outstanding
patches that are needed for getting a functional build.


> Using CC=gcc-2.95, cross-gnu, and cross-gnu-env, I hit this error:

GCC 2.95?


> + /home/foo/projects/hurd/working/build/src/gnumach/configure
> --host=i586-pc-gnu --prefix=
> configure: WARNING: If you wanted to set the --build type, don't use --host.
>     If a cross compiler is detected then cross compile mode will be used.
> configure: error: cannot find install-sh or install.sh in build-aux
> "/home/foo/projects/hurd/working/build/src/gnumach"/build-aux
> make: *** [build] Error 1
> 
> === END ===
> 
> How do I fix this --host option?

That's only a warning.  As for the error message, Samuel already answered
to this question.


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


reply via email to

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