From: David Bernat <dbernat32@gm...> - 2005-10-02 20:50:56
This may be a linux newbie question rather than specifically linux on
gumstix newbie question, but you guys can probably help, so here goes:
I just built a toolchain for the gumstix: built minimal gcc-2.9.5,
then glibc-2.2.5, then full gcc-3.4.4.
Now I have all the gcc-3.4.4 compilers: arm-linux-gcc, arm-linux-g++,
I also have a bunch of libraries: libc.so, libc.a, libstdc++.so,
Now my questions:
1. The *.a libraries are just archives of the library functions for
static linking, right? As a result, those files only need to be on
the build system (i686) not on the target system (gumstix), right?
2. The shared libraries (*.so) need to be copied to the gumstix,
right? Is there an equivalent to stripping an executable for shared
libraries? I ask because the libc.so library is five megabytes in
size. The libc.so library on my i386-linux dist. is only 1.2
megabytes. Is the large size normal or is there some equivalent
procedure for reducing a libraries size?
3. Now that I have gcc-3.4.4, I should be able to build glibc-2.3.5.=20
Is there a good reason to do so, or is glibc-2.2.5 sufficient?
Get latest updates about Open Source Projects, Conferences and News.