This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Big Size
- To: jmiguel at iaa dot es (J.Miguel Iban~ez)
- Subject: Re: Big Size
- From: Carlo Wood <carlo at runaway dot xs4all dot nl>
- Date: Thu, 30 Jul 1998 03:45:01 +0200 (CEST)
- Cc: egcs at cygnus dot com (egcs at cygnus dot com)
| Hi,
|
| I've recently changed from gcc2 to egcs (1.0.2), but the first and biggest
| difference I've found is that executable size created by egcs is more
| ( and more ) bigger than executable size created by gcc2. Why ??
| I'd like to know which is the reason or/and where can I find more
| information about this.
|
| Thanks.
Possibly you accidently link with a static lib because the linker
can't find the shared lib. Use `ldd' to check that your program
is linked with all expected shared libs (libc, libm, libstdc++ and
possibly libgcc/g++).
--
Carlo Wood <carlo@runaway.xs4all.nl>