I am creating an embedded Linux system and trying to fit my secondary boot loader (AT191) Am, u-boot, linux kernel, and root 8 mb data on flash chip. Busybox takes around 2 MB, although I can take it up to about 1 MB, and U-boot takes approximately 512 KB and that too I am sure I can be small.
Can I reduce their size? By taking cross compiling on my desktop, we take codes like things needed for large compilers and optimizations and build code to handle all the architectures except armv5te? Or have I been left with 50+ MB binary for GCC? If there is no hope of receiving it under 6 MB, what do I get?
You may want to take a look at some optional compilers; GCC is not known to be small, in particular, you may be interested in, small compiler :)
No comments:
Post a Comment