[Top] [All Lists]

Re: porting arcboot

To: Florian Lohoff <>
Subject: Re: porting arcboot
From: Andrew Clausen <>
Date: Wed, 12 Feb 2003 16:03:41 +1100
Cc: Guido Guenther <>, Linux-MIPS <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <20030210100319.GA30624@merry> <> <>
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

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


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