I am trying to build an embedded system which is going to have a 32MB flash disk. In this I am planning to have the following things.
(1) Linux Kernel (2.4.18) (Approximately 1MB) (2) gtk+DirectFB (???) (3) My Application (Approximately 6MB) (4) Some data tables (Approximately 4MB) (5) Basic commands (Approximately 1 MB) (2) to (5) are compressed in a file called rootfs.img.gz Basically, the system boots with a kernel and a initrd.img.gz file and then in the linuxrc I am uncompressing the rootfs.img.gz which will give me the root file system. Then, the boot process continues and load the root properly. By this way the flash disk is only used in the boot time and then there will be no access to it. The entire system is going to run from the Memory. I am having 128 MB RAM out of which 32 MB will go for the root and remaining is meant for the application. I am able to successfully do all the above with out any problem. So far I was just working on bringing up the system. And today I ported the gtk+DirectFB successfully. I used a small sample application to test it and it is working fine. My problem is after I ported gtk+DirectFB I found that there is no space left for my actual application and data tables. I was surprised to see that the gtk+DirectFB is using almost 25 MB the rest is occupied by the Basic commands and its libraries. Actually I found that the gtk+DirectFB's libraries are occupying more space. How will I reduce the size now. Explaining how I identified the libraries which are used by sample test application (I directly took the progress bar example from gtk+directFB example directory I ran ldd on the application and found the depend libraries and I copied all the libraries to my expected root system. I am using gtk+2.0.5. Please advice me on how to reduce the system size without compromising on my application size and data table size. Regards RD -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
