Re: Updating powerpc-crosscompile environment from gcc-2.95.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kai Ruottu wrote:

If one has "some suitable" target C library,
the '--enable-shared --enable-threads' can be used, otherwise both
must be disabled and the result is a stripped GCC which maybe can
or can not compile the C library ok. One cannot be sure about this
without very deep understanding about the C library doings...

 I forgot to tell that the glibc-2.3.5 made with the stripped GCC
and the glibc-2.3.5 made with the complete GCC were different in
their library sizes, for instance the 'libc-2.3.5.so' was 1329938
bytes when produced with the stripped GCC but 1293873 bytes when
produced with the complete GCC. The SuSE 10.0/ppc one was 1510896
bytes for their glibc-2.3.5-40 (the 32-bit library). Whether
gcc-3.4.4 produces smaller code than gcc-4.0.2 (used in SuSE) or
then there are other big changes in their own glibc-2.3.5...

 Comparing those sizes is almost everything one could do simply,
but tools like 'nm' and 'objdump' could allow one to investigate
the differences more deeply...

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux