bug-hurd
[Top][All Lists]
Advanced

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

Re: cross compilation problems


From: Steve Bowman
Subject: Re: cross compilation problems
Date: Tue, 24 Oct 2000 21:21:30 -0700
User-agent: Mutt/1.2.5i

On Tue, Oct 24, 2000 at 09:18:26PM -0500, Daniel E. Baumann wrote:
> I attempted to compile the HURD from CVS by doing the follwing:
> 
> [snip]
>               
> it's trying to link with libc6 from Linux, which I
> don't want it to do so what do I do? What is the proper way to cross compile?

Don't.  Compile hurd natively.

> I have the HURD partition mounted as /gnu under Linux and I have the
> gcc-i386-gnu and mig-i386-gnu packages installed under Linux (Debian of
> course :) ).

Useful for compiling gnumach but hurd builds fine natively.  Since you're
using Debian packages, get the hurd sources into some directory, then

        dpkg-source -x hurd*.dsc                #  extract sources
        cd hurd*
        dpkg-buildpackage -uc -us               #  build without signing

And it'll build debs for you.  You'll need dpkg-dev and maybe some
friends installed which you should probably already have.

If you have to restart because of some runaway translators (reported
on debian-hurd list), add the -nc flag to dpkg-buildpackage to avoid
starting from scratch.

HTH,
Steve

-- 
Steve Bowman  <address@hidden> (preferred)
Buckeye, AZ   <address@hidden> <address@hidden>
              <http://www.goodnet.com/~sbowman/>

Powered by Debian GNU/Linux and GNU/Hurd <http://www.debian.org>



reply via email to

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