* Dynamic loading of C libraries
@ 2010-05-19 23:09 Richard Stallman
2010-05-21 7:25 ` joakim
2010-05-22 0:15 ` Stefan Monnier
0 siblings, 2 replies; 4+ messages in thread
From: Richard Stallman @ 2010-05-19 23:09 UTC (permalink / raw)
To: emacs-devel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dynamic loading of C libraries
2010-05-19 23:09 Dynamic loading of C libraries Richard Stallman
@ 2010-05-21 7:25 ` joakim
2010-05-22 0:15 ` Stefan Monnier
1 sibling, 0 replies; 4+ messages in thread
From: joakim @ 2010-05-21 7:25 UTC (permalink / raw)
To: rms; +Cc: emacs-devel
Richard Stallman <rms@gnu.org> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dynamic loading of C libraries
2010-05-19 23:09 Dynamic loading of C libraries Richard Stallman
2010-05-21 7:25 ` joakim
@ 2010-05-22 0:15 ` Stefan Monnier
2010-05-22 1:37 ` Leo
1 sibling, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2010-05-22 0:15 UTC (permalink / raw)
To: rms; +Cc: emacs-devel
> 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.
That's great news. So all we need now is for someone to submit a patch
that provides such dynamic loading functionality, and then start
using it.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dynamic loading of C libraries
2010-05-22 0:15 ` Stefan Monnier
@ 2010-05-22 1:37 ` Leo
0 siblings, 0 replies; 4+ messages in thread
From: Leo @ 2010-05-22 1:37 UTC (permalink / raw)
To: emacs-devel
On 2010-05-22 01:15 +0100, Stefan Monnier wrote:
>> 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.
>
> That's great news. So all we need now is for someone to submit a patch
> that provides such dynamic loading functionality, and then start
> using it.
Isn't the patch already around
http://www.loveshack.ukfsn.org/emacs/dynamic-loading/?
>
>
> Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-22 1:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19 23:09 Dynamic loading of C libraries Richard Stallman
2010-05-21 7:25 ` joakim
2010-05-22 0:15 ` Stefan Monnier
2010-05-22 1:37 ` Leo
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).