🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #293

SunOS shared library version

#293
From: Klamer Schutte
Date: Mon, 12 Oct 1992 10:06
36 lines
1386 bytes
Is it possible to produce a shared library version of libg++ (2.2)?
Currently any program using the iostream facility gets so big...

For example the following program:

#include        <iostream.h>

main()
{
        cout << endl;

        return 0;
}

gets the size:

0 klamer@mi7 11:08 6> size a.out
text    data    bss     dec     hex
90112   8192    0       98304   18000

when the same program compiled with sun C++ 2.1, using their shared C++ lib
has the size:

0 klamer@mi7 11:10 9> size a.out
text    data    bss     dec     hex
8192    8192    0       16384   4000

Has compiling as a shared library been tried? Is it succesfull? Is there a
great performance penalty?

Klamer

--
Klamer Schutte			Tel: +31-53-892778	Fax: +31-53-340045
Faculty of electrical engineering -- University of Twente, The Netherlands
preferred: klamer@mi.el.utwente.nl     SMTP: klamer@utelmi01.el.utwente.nl
Technical Details
Message-ID: <klamer.718884361@mi.el.utwente.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!mi.el.utwente.NL!klamer

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!mi.el.utwente.NL!klamer
From: klamer@mi.el.utwente.NL (Klamer Schutte)
Subject: SunOS shared library version
Message-ID: <klamer.718884361@mi.el.utwente.nl>
Sender: gnulists@ai.mit.edu
Organization: University of Twente, BSC-El
Distribution: gnu
Date: Mon, 12 Oct 1992 10:06:01 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 37