🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Aaron Birenboim Tue, 01 Aug 1989 17:27
g++ linking
#320
Author: Aaron Birenboim
Date: Tue, 01 Aug 1989 17:27
20 lines
1514 bytes
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!!"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads