From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 11 Sep 2012 15:44:39 +0200 Subject: [Buildroot] big root fs In-Reply-To: <1347366592.32116.YahooMailNeo@web164601.mail.gq1.yahoo.com> References: <1347366592.32116.YahooMailNeo@web164601.mail.gq1.yahoo.com> Message-ID: <20120911154439.47e2b53a@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Le Tue, 11 Sep 2012 05:29:52 -0700 (PDT), Zoran Djordjevic a ?crit : > I built linux kernel using Buildroot, but included glibc support > instead of uClibc. For that matter I was using Crosstool NG. > I achieved the goal - compiled the GTK?applications and they work on > my target ARM board. All of that is?by using?NFS on my Ubuntu machine. > However the size of generated jffs2 is 52MB- which is huge for me. > Although I included GTK examples, and maybe few more properties I > still wander if the size is related (only)?to glibc matter. > I will try building with uClibc (only to detect difference in size), > but at the moment it is important to me to use glibc, so what else > can contribute to overal size of image, other than??(maybe) glibc. The difference is size will not be that huge, maybe around 1-2 MB, not much more. > I attatched my .config if someone want to look at it and maybe find > some memory eating matter. Also,?can size of glibc be reduced, by > throwing out some properties. glibc does not offer any configuration options. eglibc has a few options, but that are not exposed by Crosstool-NG, and I doubt that they provide a really significant size reduction. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com