[uClibc]General Questions

Stanley stanley at alumni.com
Mon Jun 4 09:33:01 UTC 2001


Hi all, 

Currently i am working on sparc-linux for LEON. However there is some problem compiling libc. I would like to ask is

a) Is it possible to compile libc and libm separately ? It may be easier to compile pieces by pieces and easier to troubleshoot where all the bugs from. Also libm contains only algorithm and should be independent of system calls and i/o right ?

b) I set HAS_DOUBLE = true in the Config file, but when i compile libm for double, it complains about cmplxf.c and clog.c. it seems to me that my configuration is not updated into math.h. 

c) As i know, uClinux uses heavily on uClibc as the standard libraries, also uClinux uses flat binary format. Is is neccessary to convert individual object files into flat format ?

e) i noticed most object files were strip off of .note and .comment, is it advisable to do a total strip i.e. using sparc-linux-strip <object file> with no flags ? I was able to save half the size, but is this advisable ?

f) i would like the significance of libutil, libcrypt. libresolv, extra and ldso? are they neccessary for compiling libc ? In another words if these directories are removed, will compilation of libc continues ?

g) I need some points to where to modify libc so that it can support LEON. I have the kernel running, and i have downloaded glibc-2.2.3 which i think may be handy, what are the directories that need attention ?

thanks
stanley

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20010604/bed8db74/attachment-0001.htm 


More information about the uClibc mailing list