From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: Emacs contributions, C and Lisp Date: Wed, 07 Jan 2015 18:14:34 +0100 Message-ID: <874ms2tsw5.fsf@engster.org> References: <83bnxuzyl4.fsf@gnu.org> <87sir336qn.fsf@fencepost.gnu.org> <20140301215057.GA19461@thyrsus.com> <87fvn1y0vx.fsf@fencepost.gnu.org> <87fvn0senq.fsf@uwakimon.sk.tsukuba.ac.jp> <8761nusb90.fsf@uwakimon.sk.tsukuba.ac.jp> <87vbkovhh7.fsf@engster.org> <87387rvobr.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1420650979 30261 80.91.229.3 (7 Jan 2015 17:16:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2015 17:16:19 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 07 18:16:14 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y8uCP-0000Bo-42 for ged-emacs-devel@m.gmane.org; Wed, 07 Jan 2015 18:15:13 +0100 Original-Received: from localhost ([::1]:42008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8uCO-0000z4-Ev for ged-emacs-devel@m.gmane.org; Wed, 07 Jan 2015 12:15:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8uC5-0000vv-Ul for emacs-devel@gnu.org; Wed, 07 Jan 2015 12:14:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8uC0-0004bP-VW for emacs-devel@gnu.org; Wed, 07 Jan 2015 12:14:53 -0500 Original-Received: from randomsample.de ([5.45.97.173]:38566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8uC0-0004Zz-NL; Wed, 07 Jan 2015 12:14:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=k0JhKcZy9zojcGZyEXAOj+SWbaDi2hrzCwyFWLjgbaI=; b=oyKHOoizOCabw2uHtGsMLDcqRU0XmkkM4dvdQUpSe3xgMvhWgT59ZcJNYI7qJakgl1sHFpAXWaTL0hSrR2sZouZJls27y345IZfl+xNwSrHWgeG2sc/Xs8/8ycq15pe0; Original-Received: from ip4d154cb9.dynamic.kabel-deutschland.de ([77.21.76.185] helo=spaten) by randomsample.de with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Y8uBs-0007Ca-PV; Wed, 07 Jan 2015 18:14:41 +0100 In-Reply-To: (Richard Stallman's message of "Tue, 06 Jan 2015 23:26:48 -0500") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.45.97.173 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181026 Archived-At: Richard Stallman writes: > > David wants to write a GCC plugin that outputs the complete AST. > > We do not want to promote that sort of plugin. After reading a bit about how GCC plugins came into being, I stumbled upon https://www.gnu.org/licenses/gcc-exception-3.1-faq.html which has this: When we first considered adding a plugin infrastructure to GCC, we were deeply concerned about the possibility that someone would write a plugin that would merely save GCC's internal, low-level compilation data structures to disk. With that done, other software would be able to optimize or otherwise improve that code without being directly connected to GCC. It may have been difficult for us to argue that those programs should be subject to the GPL's copyleft, so we wanted to discourage these sorts of arrangements. We do that by excluding such output from the definition of Target Code. Because of this, even if someone writes a plugin that saves this information to disk, any programs that change the structures before GCC writes out Target Code will be involved in the Compilation Process. If that program is proprietary, the exception will not be available to any software compiled with it; the object code that GCC ultimately creates will have to be distributed under the terms of the GPL. Now I'm even more confused why you'd have a problem with exporting the AST. -David