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

Optimizing libraries for Etrax LX



Hi,

I'm trying to make my own product package out of the "devboard_lx" reference
package. My application needs about 800kb free space on the JFFS device.
Under eLinux I've managed to strip the ROMFS to less than 750kb (removing
ash, removing many busybox features, performing optlibs). With the "real"
Linux this seems really difficult to achieve :
- no "optlibs" tool available (or did I miss it ?)
- giant libc instead of the tiny uClibc, and many

I want to know how do the tools work with the librarie ? It seems that a
nice cut is done (only a few libs are included in the image, even if there
is a lot of libs available in the target directory). How is the selection
done ? Is it possible to "strip" required libraries, keeping only functions
that are usefull (like the "optlibs" tool do) ?

BtW, is it possible (and interesting ???) to use uClibs instead of the full
featured libc ??

Thanks,

Johann Dantant
Pro-Active - FRANCE
BEGIN:VCARD
VERSION:2.1
N:Dantant;Johann
FN:Dantant, Johann
NICKNAME:JDA
ORG:Pro-Active
TITLE:Chef de projet
TEL;WORK;VOICE:(+33) 1.64.53.20.17
TEL;WORK;FAX:(+33) 1.64.53.20.18
ADR;WORK:;;13, voie La Cardon;Palaiseau;Īle-de-France;91120;France
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:13, voie La Cardon=0D=0APalaiseau, =CEle-de-France 91120=0D=0AFrance
URL;WORK:http://www.pro-active.fr
KEY;X509;ENCODING=BASE64:
    MIICszCCAhygAwIBAgIBBDANBgkqhkiG9w0BAQQFADCBmzELMAkGA1UEBhMCRlIxCzAJBgNV
    BAgTAjkxMRIwEAYDVQQHEwlQYWxhaXNlYXUxGDAWBgNVBAoTD1Byby1BY3RpdmUgU0FSTDEQ
    MA4GA1UECxMHUm9vdCBDQTEbMBkGA1UEAxMSUHJvLUFjdGl2ZSBSb290IENBMSIwIAYJKoZI
    hvcNAQkBFhNhZG1pbkBwcm8tYWN0aXZlLmZyMB4XDTAyMTExNTE0NTMzM1oXDTEyMTExMjE0
    NTMzM1owTTEkMCIGA1UEAxMbUHJvLUFjdGl2ZSAvIEpvaGFubiBEYW50YW50MSUwIwYJKoZI
    hvcNAQkBFhZqb2hhbm4uZEBwcm8tYWN0aXZlLmZyMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB
    iQKBgQC54zCYDxlZjcKtR0p1iMOzTAg9rKjQmxFUwHN1beWD1WajJguZncdGKUR6FoStjiwM
    11zTkDWUYa+0WGNrRSCDMdWUMCE+pBieYmHt/xxMYDUdYkcoGI5lsHpymI318kHgIa3DqU2D
    5dgxUF06caINuvn2qxPh+d5LqBFEVeMWhQIDAQABo1QwUjAhBgNVHREEGjAYgRZqb2hhbm4u
    ZEBwcm8tYWN0aXZlLmZyMAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgwFoAUHpRaDZoUHfm1xv1b
    NDlJIiGtTVwwDQYJKoZIhvcNAQEEBQADgYEARSGG7V/lIMiY0qEr92N6cM7WgDrlY0CDdsZQ
    XY9s7O1ftrrQ5IRaw/DOwfl/oTIIVQEVN+ogUQc7SGi3ZxJl/hHZqmaap9lVaV6xFqD7gfMC
    lYalWvARkEZdWobwdi/XP++4Ubi+G4/lN/oZ7+ifJO4iQbNNjYFEJTGAfCbdoqv=


EMAIL;PREF;INTERNET:johann.d@xxxxxxx.fr
EMAIL;INTERNET:johann.d@xxxxxxx.net
REV:20030611T144157Z
END:VCARD