[gnu.g++] linking on sun OS4

birenboi@malibu.aero.org (Aaron Birenboim) (08/02/89)

I'm new to g++ and I have a question.  Why are my g++ executable files
so HUGE.  I'm on a sun 4/280 running g++1.35.  It produces
reasonably sized .o files, but for a simple 1 or 2 hundred line program
my executables are around 250K.  Yes, i am using a lot of libraries
like stdio, math, and stream, but this is rediculous.  Similar code in
cc form sun prodeces executables less that 1/4 the size.

Any suggestions about linking?  What about dynamic object libraries?
Where can I learn about them?  Are they my problem?

Please help me.  I may be ignorant, but I'm the expert around here
and the sys-admin is not convinced that these huge files are not just
standard overhead.




Aaron "The Lumberjack" Birenboim             |  "I'm a ramblin' wreck,
                                             |       headed to : 
         GO TROJANS!!                        |
 birenboi%malibu.aero.org@aerospace.aero.org |      GEORGIA TECH!!"