🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Aaron Birenboim Tue, 01 Aug 1989 17:34
linking on sun OS4
#76
Author: Aaron Birenboim
Date: Tue, 01 Aug 1989 17:34
21 lines
1454 bytes
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!!"
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