linux-mips
[Top] [All Lists]

Re: porting arcboot

To: Andrew Clausen <clausen@melbourne.sgi.com>
Subject: Re: porting arcboot
From: Florian Lohoff <flo@rfc822.org>
Date: Tue, 11 Feb 2003 23:46:22 +0100
Cc: Guido Guenther <agx@gandalf.physik.uni-konstanz.de>, Linux-MIPS <linux-mips@linux-mips.org>
In-reply-to: <20030210223955.GF8408@pureza.melbourne.sgi.com>
Organization: rfc822 - pure communication
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030210034549.GA8408@pureza.melbourne.sgi.com> <20030210100319.GA30624@merry> <20030210223955.GF8408@pureza.melbourne.sgi.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.3.28i
On Tue, Feb 11, 2003 at 09:39:55AM +1100, Andrew Clausen wrote:
> 
> e2fsprogs looks like it resists cross-compiling also :(
> 
> So, the obstacles are:
>  * e2fsprogs uses libc headers quite extensively, but there is no
> glibc available for mips64 (right?).  It also seems to make quite a
> few libc calls?  (How are you planning to deal with that?  Link
> against it statically?  What about syscalls?)
>  * e2fsprogs doesn't use autoconf/automake "properly".  It doesn't seem
> to support cross-compiling.  Adding cross-compile support looks
> somewhat non-trivial, since it builds it's own tools to compile itself.
> (A fancy sed replacement, for some reason?)
>  * there is no toolchain to build e2fsprogs on mips64 cleanly... need
> to do that objcopy business.  This means hacking the build process?

You dont need e2fsprogs - Just certain parts of the libe2fs which itself
just uses some very basic libc functions like malloc/free/str* which
we all have within arcboot. So you simple need to cross-compile the
libe2fs.

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
                        Heisenberg may have been here.

Attachment: pgp6FbWGk04JL.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>