From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Thu, 09 Oct 2014 20:27:38 +0300 Message-ID: <83lhopb1bp.fsf@gnu.org> References: <87y4t9m76w.fsf@lifelogs.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1412875668 27742 80.91.229.3 (9 Oct 2014 17:27:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2014 17:27:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Aur=C3=A9lien?= Aptel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 09 19:27:41 2014 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 1XcHV7-0003x9-Lr for ged-emacs-devel@m.gmane.org; Thu, 09 Oct 2014 19:27:41 +0200 Original-Received: from localhost ([::1]:44298 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcHV7-0007fw-9X for ged-emacs-devel@m.gmane.org; Thu, 09 Oct 2014 13:27:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcHUx-0007e6-P9 for emacs-devel@gnu.org; Thu, 09 Oct 2014 13:27:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcHUq-0003k1-9f for emacs-devel@gnu.org; Thu, 09 Oct 2014 13:27:31 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:59139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcHUq-0003jb-1W for emacs-devel@gnu.org; Thu, 09 Oct 2014 13:27:24 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ND600700TBE7800@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Thu, 09 Oct 2014 20:27:22 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ND60073XTTL5K30@a-mtaout22.012.net.il>; Thu, 09 Oct 2014 20:27:22 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:175193 Archived-At: > Date: Thu, 9 Oct 2014 19:08:47 +0200 > From: Aur=C3=A9lien Aptel >=20 > As of my last commit (7a38270cd) dynamic loading is working pretty > well. Thanks. > ;; alternatively you can use > ;; (load "path/to/curl/curl.so") > ;; or > ;; (load-module "path/to/curl/curl.so") The .so extension is platform specific. Since Emacs tries to keep platform dependencies out of the Lisp level, how about chopping the extension, and adding to load-module the necessary code to look for the extension specific to the underlying platform? > ** Portability >=20 > The .so suffix is hardcoded but via libltdl loading should work on > most systems. Well, how about removing this issue by using lt_dlopenext?