This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: gcc 2.95.2 HP-UX 10.20
- To: "'Ehrke, Christian'" <C dot Ehrke at allweiler dot de>, "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Subject: RE: gcc 2.95.2 HP-UX 10.20
- From: David Korn <dkorn at pixelpower dot com>
- Date: Fri, 10 Nov 2000 14:13:54 -0000
>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