Mail Archives: djgpp/1999/06/17/06:18:18
On Thu, 17 Jun 1999, Andris Pavenis wrote:
> Should I build C++ libraries (libstdcxx.a and
> libgpp.a) for upcomming gcc-2.95 with debug info (the size of each library
> will grow approximatelly to 1.5-1.7Mb)
I'm not sure this is worthwhile. After all, without the sources, the
debug info won't help much, right?
As a general rule, each library is supposed to have three copies: the
normal (unstripped) one, another one with debug info, and yet another one
compiled with -pg. In the case of libc.a, the two additional ones are
usually libc_g.a and libc_p.a, and the compiler knows to link in the
appropriate library given the compiler switches (e.g., if you say "gcc -g",
it is supposed to link with libc_g.a).
But DJGPP doesn't follow this scheme for the C library, so I'm not sure
whether the C++ libraries should.
- Raw text -