Re: porting arcboot

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

 



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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux