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: Wed, 12 Feb 2003 16:26:20 +0100
Cc: Guido Guenther <agx@gandalf.physik.uni-konstanz.de>, Linux-MIPS <linux-mips@linux-mips.org>
In-reply-to: <20030212050341.GI8408@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> <20030211224622.GC1186@paradigm.rfc822.org> <20030212050341.GI8408@pureza.melbourne.sgi.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.3.28i
On Wed, Feb 12, 2003 at 04:03:41PM +1100, Andrew Clausen wrote:
> 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?

Yes - That you dont need all those objects in that archive. 

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

Attachment: pgp5FACcK70wn.pgp
Description: PGP signature

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