From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading of C libraries Date: Fri, 21 May 2010 09:25:49 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274426798 4396 80.91.229.12 (21 May 2010 07:26:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 May 2010 07:26:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 21 09:26:37 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFMcv-0001KI-Aw for ged-emacs-devel@m.gmane.org; Fri, 21 May 2010 09:26:37 +0200 Original-Received: from localhost ([127.0.0.1]:33307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFMcu-0001iK-69 for ged-emacs-devel@m.gmane.org; Fri, 21 May 2010 03:26:36 -0400 Original-Received: from [140.186.70.92] (port=49962 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFMca-0001hp-JR for emacs-devel@gnu.org; Fri, 21 May 2010 03:26:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFMcY-0000Uv-Vw for emacs-devel@gnu.org; Fri, 21 May 2010 03:26:16 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:56129 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFMcJ-0000QI-97; Fri, 21 May 2010 03:26:01 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id o4L7Pnj4006837; Fri, 21 May 2010 09:25:50 +0200 In-Reply-To: (Richard Stallman's message of "Wed, 19 May 2010 19:09:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124981 Archived-At: Richard Stallman writes: > I talked with our lawyer, and we determined that GCC's technique of > checking for a symbol whose name says "I am under a GPL3-compatible > license" is ok for Emacs and other GNU packages when dynamically > loading libraries at the C level. > > So you can implement dynamic loading with the check for that symbol. > If the symbol is not present then the function to load should > report an error and not load it. Super news! -- Joakim Verona