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: gcc 2.95.2 HP-UX 10.20



>From: Ehrke, Christian [mailto:C.Ehrke@allweiler.de]
>Sent: 10 November 2000 13:07
>
>My Question is: Why are the programs building with gcc much bigger then
>from the default cc compiler?
>A simple "hello world" compiled as "gcc -o hello hello.c" produce a file
>size from 82 K. The cc produce a 24 K file.

  Some versions of gcc seem to put debug info. in the output file by
default. To remove it, use the 'strip' program from the binutils on your
executable.


        DaveK
-- 
SEAL Team 6 World Trade Center Serbian Cocaine [Hello to all my fans
in domestic surveillance] cracking KGB nuclear arrangements CIA
counter-intelligence smuggle fissionable ammunition SDI 


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