Article View: gnu.misc.discuss
Article #75748Free Software Users == dupes ?
From: David Vinayak Wallace
Date: Wed, 02 May 1990 22:29
Date: Wed, 02 May 1990 22:29
24 lines
1960 bytes
1960 bytes
Date: 30 Apr 90 22:06:30 GMT
From: rjc@dbrus.unify.uucp (Ronald Cole)
In article <35910@ucbvax.BERKELEY.EDU> jbuck@galileo.berkeley.edu (Joe Buck) writes:
This is more of a problem with g++. To avoid any confusion,
since version 1.36 you have to say -lg++ on the command line now
to get the libg++ library. If you don't say "-lg++" and
everything you link in is your own, the code is all yours.
look at the source to gcc.c in the g++ distribution! The hints
file says this, but it isn't true. As of 1.37.2, g++ still loads
-lg++ for you (to bring in __main).
Well you need an __main if you use static objects. If you you't have
libg++ you can use gnulib3.a, which contains the little amount of
runtime support required, and which bears no copyright notice at all.
That file is poorly documented, but what do you want? It's free
software. Feel free to add a comment to the top or to the
documentation telling people what it does.
Lots of libraries define their own __main
Technical Details
Message-ID:
<GUMBY.90May2152913@Cygnus.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!neon!neon!gumbyReferences:
<2852@rex.cs.tulane.edu> <970016@gore.com> <PCG.90Apr25205938@rupert.cs.aber.ac.uk> <976:Apr2909:03:3890@stealth.acf.nyu.edu> <GUMBY.90Apr29041714@Cygnus.COM> <4207:Apr3004:21:3090@stealth.acf.nyu.edu> <35910@ucbvax.BERKELEY.EDU> <RJC.90Apr30150630@dShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,1a1f932bc12166f3 X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1990-05-02 20:26:17 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!neon!neon!gumby From: gumby@Cygnus.COM (David Vinayak Wallace) Newsgroups: gnu.misc.discuss Subject: Free Software Users == dupes ? Message-ID: <GUMBY.90May2152913@Cygnus.COM> Date: 2 May 90 22:29:13 GMT References: <2852@rex.cs.tulane.edu> <970016@gore.com> <PCG.90Apr25205938@rupert.cs.aber.ac.uk> <976:Apr2909:03:3890@stealth.acf.nyu.edu> <GUMBY.90Apr29041714@Cygnus.COM> <4207:Apr3004:21:3090@stealth.acf.nyu.edu> <35910@ucbvax.BERKELEY.EDU> <RJC.90Apr30150630@d Sender: news@Neon.Stanford.EDU (USENET News System) Distribution: gnu Organization: Cygnus Support Lines: 24 Posted: Wed May 2 23:29:13 1990 In-Reply-To: rjc@dbrus.unify.uucp's message of 30 Apr 90 22:06:30 GMT