emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic loading progress


From: Eli Zaretskii
Subject: Re: Dynamic loading progress
Date: Thu, 09 Oct 2014 20:27:38 +0300

> Date: Thu, 9 Oct 2014 19:08:47 +0200
> From: Aurélien Aptel <address@hidden>
> 
> 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
> 
> The .so suffix is hardcoded but via libltdl loading should work on
> most systems.

Well, how about removing this issue by using lt_dlopenext?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]