This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Big Size


| 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]