From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Tue, 11 Sep 2012 15:17:54 +0200 Subject: [Buildroot] big root fs In-Reply-To: <1347366592.32116.YahooMailNeo@web164601.mail.gq1.yahoo.com> (Zoran Djordjevic's message of "Tue, 11 Sep 2012 05:29:52 -0700 (PDT)") References: <1347366592.32116.YahooMailNeo@web164601.mail.gq1.yahoo.com> Message-ID: <87bohczojh.fsf@macbook.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Zoran" == Zoran Djordjevic writes: Zoran> Hello Zoran> I built linux kernel using Buildroot, but included glibc support Zoran> instead of uClibc. For that matter I was using Crosstool NG. Zoran> I achieved the goal - compiled the GTK applications and they Zoran> work on my target ARM board. All of that is by using NFS on my Zoran> Ubuntu machine. However the size of generated jffs2 is 52MB- Zoran> which is huge for me. Although I included GTK examples, and Zoran> maybe few more properties I still wander if the size is related Zoran> (only) to glibc matter. I will try building with uClibc (only Zoran> to detect difference in size), but at the moment it is important Zoran> to me to use glibc, so what else can contribute to overal size Zoran> of image, other than (maybe) glibc. I attatched my .config if Zoran> someone want to look at it and maybe find some memory eating Zoran> matter. Also, can size of glibc be reduced, by throwing out some Zoran> properties. First of all, a defconfig file (which you create by running 'make savedefconfig') is quite a bit easier to read than the very verbose .config. Secondly, I see you have both directfb and X11: BR2_PACKAGE_DIRECTFB=y BR2_PACKAGE_DIRECTFB_TRACE=y BR2_PACKAGE_DIRECTFB_XSERVER=y BR2_PACKAGE_XORG7=y BR2_PACKAGE_XSERVER_XORG_SERVER=y You can most likely drop directfb. SDL is also relatively big. You also have a number of unneeded X libraries. -- Bye, Peter Korsgaard