Re: porting arcboot

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

 



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: pgp00255.pgp
Description: PGP signature


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

  Powered by Linux