gcc 2.95.2 HP-UX 10.20
David Korn
dkorn@pixelpower.com
Fri Nov 10 06:16:00 GMT 2000
>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
More information about the Gcc
mailing list