The .ipk file is 200k, and the unpacked "helloworld" package is 400k for a total of 600k (until I delete the .ipk) First, how would I go about linking dynamically instead of statically using bitbake (not buildroot)? Do I use the arm-angstrom-linux-gnueabi-c++ compiler istead of making the cumbersome package and recipe combination?
Second, If I was to use buildroot, then how would I be able to run the programs on the gumstix (which is currently running the OE filesystem and kernel) without having /bin/bash to execute them? Flashing the gumstix with a buildroot kernel and filesystem nets me a corrupt terminal. Also, how would I perform static vs dynamic linking with the buildroot (arm-linux-g++) cross compiler? I suppose it would be the same was as the arm-angstrom-linux-gnueabi-c++ one.
Thanks for the response and any further help, Bobby
> Date: Thu, 10 Jul 2008 10:01:39 -0700 > From: firstname.lastname@example.org > To: email@example.com > Subject: Re: [Gumstix-users] Hello world! problems > > Hi Bobby, > > On Thu, Jul 10, 2008 at 8:17 AM, Bobby Goodrich <firstname.lastname@example.org> wrote: > > > > I used bitbake to compile the hello world package and everything works > > fine... except when I unpacked the .ipk file on the gumstix, it took up a > > whopping 400k of space!! What is going on here? I don't understand how a 5 > > line Hello World program was bloated to take up that much space. > > Are you saying the .ipk file is that big, or that the hello world > program is that big? > > If the hello world program is statically linked, then it could easily > be that big. Under buildroot (using uclibc), hello world > compiled/linked dynamically is 5K, whereas compiled/linked statically > is 340K. > > On my development machine (x86 using glibc), I get 6K dynamic and 540K static. > > -- > Dave Hylands > Vancouver, BC, Canada > http://www.DaveHylands.com/ > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > gumstix-users mailing list > email@example.com > https://lists.sourceforge.net/lists/listinfo/gumstix-users