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

Re: Partition size and glibc build



On Tue, Jun 05, 2001 at 11:07:43PM +0200, Robert Bihlmeyer wrote:
> > a) Bad cross-compiler (I had this alot before I got it right a few
> > years ago.  Now I'm using the debian packages, and I have no reason to
> > trust them)
> 
> BTW, what is the correct way to cross-build glibc? I used the "cheap"
> cross compiler from the gcc-i386-gnu package, and did
> 
>   dpkg-buildpackage -ahurd-i386 -uc -d -B -nc
> 
> The first problem was that no <mach/*.h> include files were found. I
> cheated and symlinked /usr/include/{mach,hurd} to
> /gnu/include/{mach,hurd}. Shouldn't the cross compiler take care of
> that?

Of course.  The above command should work fine, except if you use
dpkg-cross.  In this case, you should run dpkg-buildpackage.orig

Marcus




Reply to: