Mail Archives: djgpp/1994/09/27/06:30:40
I try to compile turbovision by gcc with minimum sucess, but the problem
is I got a huge lib and a.out file. The size of tv.lib compiled by TC++
is 393,216 bytes, but the libtv.a compiled by gcc is 1,983,850 bytes. A
simple "hello" program has 1,140,930 bytes.
I found the problem is not gcc produce huge code, because when stripped
the "hello" program, its size reduced to 379,060 bytes, so almost 2/3 of
the object file is symbol table, but the problem is I did NOT use "-g".
Also it took a long time to run "ld" when the lib file is huge. Is there
any solution to this?
Thanks,
Dong
- Raw text -