This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

other/5022: gcc -lgcc only for gpl-compatible programs, others are suddenly illegal.



>Number:         5022
>Category:       other
>Synopsis:       gcc -lgcc only for gpl-compatible programs, others are suddenly illegal.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 05 11:16:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     guidod-2001q3@gmx.de
>Release:        gcc-3.x
>Organization:
>Environment:
reading cvs source code
>Description:
The libgcc is GPL, always was, but it did always include
an exception clause that clarified that gcc-compiled
programs linking with libgcc do not need to get gpl-ed.

But this exception clause seems to be missing now.

I treat this as a mistake, and therefore a bug.
>How-To-Repeat:
read gcc/libgcc2.c
>Fix:
copy the text from 2.95x libgcc2.c to 3.x libgcc2.c, i.e.
add the following text right after the GPL header text:

/* As a special exception, if you link this library with other files,
   some of which are compiled with GCC, to produce an executable,
   this library does not by itself cause the resulting executable
   to be covered by the GNU General Public License.
   This exception does not however invalidate any other reasons why
   the executable file might be covered by the GNU General Public License.  */


>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]