Wolfgang Denk wrote: [snip] > > > The platform I'm using is very limited - only one MTD block of > > > 2.5 MB is available for the file system, out of a 4 MB flash: > > > 0.5 MB is allocated for the firmware code > > > 1.0 MB for the compressed kernel image > > > 2.5 MB for the (compressed?) file system > > > > > > For example, I've noticed LibC itself is ~5 MB ! > > > > You'll need a smaller libc, dietlibc comes to mind. > > http://www.dietlibc.org/ > > I don't really understand what all this discussion is about. > > 2.5 MB is plenty of space for a compressed ramdisk image using the > standard C library. The ramdisk image included with our ELDK is 1.3 > MB: [snip] > # ls -l lib | grep -v '^[ld]' > total 2433 I conclude ELDK consists of little more than the basic networking utilities, and the libc-related parts eat up most of the space. A more feature-rich system probably can't afford to waste that much. Thiemo