From: Simos X. <S.X...@rh...> - 2000-05-29 13:27:44
|
On Sun, 28 May 2000, Mark Will wrote: > I compiled Mesa 3.2 on an AIX RS6000 system and it seems to work, but the > libraries are large (compared to Solaris and Windows). Specifically, in > bytes: > > libGL.a 2110700 > libGLU 197543 > libglut.a 357849 > > For this reason, I assume, the resulting execs for even simple programs are > usually 2Mb or more in size. > > Is there anything I could do to compile those libaries to much smaller > files? I assume that the .a libraries contains debugging info, that's what makes them so big. There is a program called 'strip' (on Linux at least), that removes the debug info. People do not recommend to 'strip' the libraries, try to 'strip' the resulting executables and check the size difference. Otherwise, when you compile your programs, do you specify to make a 'shared' executable instead of a static? Shared ones are the *.so, while the static are the .a (for Linux again). Simos |