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]
Other format: [Raw text]

Is there a Problem with -g on mainline (470MB for a 7MB executable)?


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.


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