This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/5022: gcc -lgcc only for gpl-compatible programs, others are suddenly illegal.
- From: guidod-2001q3 at gmx dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 5 Dec 2001 19:07:19 -0000
- Subject: other/5022: gcc -lgcc only for gpl-compatible programs, others are suddenly illegal.
- Reply-to: guidod-2001q3 at gmx dot de
>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: