Path: utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!LURCH.STANFORD.EDU!tiemann
From: tiemann@LURCH.STANFORD.EDU (Michael Tiemann)
Newsgroups: gnu.g++.bug
Subject: Questions about "Free Software Foundation" (long)
Message-ID: <8910012245.AA20364@lurch.Stanford.EDU>
Date: 1 Oct 89 22:45:38 GMT
References: <9741@thorin.cs.unc.edu>
Reply-To: tiemann@lurch.stanford.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 14


    However, g++ 1.36 now requires "-lg++" to link ANY program.  So the above
    rules now make it impossible to use g++ without making the executable
    copylefted.  (g++ compiles "main()" to include a call to "___main()",
    which is contained in libg++.a.)

    I consider this a bug in g++, or a dramatic policy change.
Why don't you look at where __main really comes from, and check the
copyleft on that file.  You will not find one.  It is just a matter of
convenience that it comes from libg++.a.  If you want to jump through
the various hoops to get it from elsewhere, that is your configuration
business.

Michael