[gnu.g++.bug] g++ linking

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

I'm new to g++, and I have a problem/question.  Small programs of say
a couple hundred lines are compiling into monster 250+K executables.
Yes, I'm using some functions in stdio, math, and stream, but this is still
rediculous.  The object modules are reasonable in size, so something
about the linker is caising the problem.  My sys-admin shrugs it
off as overhead, but I know this isn't true.  I'm on a sun 4/280
running OS4 and the sun cc compiles similar programs to about 50k.

Is there a linker option I should know about?  Should I be using a different
linker?  What about dynamic link libraries?  Where is there documemtation on this.

I may be ignorant, but I'm the c++ expert around here & I need HELP!

thanks in advance


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