linux-mips
[Top] [All Lists]

Re: porting arcboot

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: porting arcboot
From: Andrew Clausen <clausen@melbourne.sgi.com>
Date: Wed, 12 Feb 2003 16:03:41 +1100
Cc: Guido Guenther <agx@gandalf.physik.uni-konstanz.de>, Linux-MIPS <linux-mips@linux-mips.org>
In-reply-to: <20030211224622.GC1186@paradigm.rfc822.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030210034549.GA8408@pureza.melbourne.sgi.com> <20030210100319.GA30624@merry> <20030210223955.GF8408@pureza.melbourne.sgi.com> <20030211224622.GC1186@paradigm.rfc822.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4i
On Tue, Feb 11, 2003 at 11:46:22PM +0100, Florian Lohoff wrote:
> You dont need e2fsprogs

Right, just they seem so coupled...

> - 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.

I disagree.

libe2fs includes lots of headers:

        pureza:~/e2fsprogs-1.32/lib$ find . | grep '\.[ch]$' | xargs grep -h 
"#include <" | sort | uniq | wc -l
             77

Also, running nm gives libc calls that invoke syscalls galore.
For example:

        open64, close, ioctl, opendir, fprintf, getmntent, lseek64, time

I got these names from:

        pureza:~/e2fsprogs-1.32/lib$ nm libext2fs.a | grep '^ *U' | less

Am I missing something?

>  So you simple need to cross-compile the libe2fs.

That seems *hard*.

Cheers,
Andrew


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