This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Is there a Problem with -g on mainline (470MB for a 7MB executable)?
- From: Martin Kahlert <martin dot kahlert at infineon dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 7 Jan 2002 14:25:41 +0100
- Subject: Is there a Problem with -g on mainline (470MB for a 7MB executable)?
- Reply-to: martin dot kahlert at infineon dot com
Hi!
I am using gcc -v:
Reading specs from /sw/gcc-3.1/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc-20011231/configure --prefix=/sw/gcc-3.1 --enable-languages=c++,f77,java --enable-threads=posix
Thread model: posix
gcc version 3.1 20011231 (experimental)
I compiled a rather big Java program with it using -g.
I got the message disk full and after doing a 'ls -l' on the static
library i got this:
-rw-r----- 1 kahlert titan 468742880 Jan 7 14:15 libtmc.a
This was about 10MB with earlier version/snapshots IIRC.
The resulting (stripped and static) binary is only
-rwxr-x--- 1 kahlert titan 6806064 Jan 7 14:16 tmc
Is that possible? Is that correct?
Thanks for any hint,
Martin.
PS: Compilation was done via 'gcj -g -c'
--
The early bird catches the worm. If you want something else for
breakfast, get up later.