Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support loading libswipl as a GNU Emacs dynamic module #1055

Closed
wants to merge 5 commits into from

Conversation

eshelyaron
Copy link
Contributor

This is another attempt following #1053

New read-only Prolog flags determined at swipl compile time.  These
flags are intended to allow package sweep to determine if libswipl
needs to be loaded ahead of sweep-module (when executable_format=elf),
and if so to locate libswipl.
Restores changes reverted in 03323ac originally made in d8b4b1a:

Add exported symbol declaring that we are GPL compatible, as well as a
stub Emacs module initialization function.

These are both required for loading libswipl into Emacs via the
dynamic module API, which subsequently makes it possible to load other
dynamic Emacs modules that rely on libswipl, such as sweep-module from
package sweep.
Restores changes to the manual that were originally made in 88516c0
and reverted in 03323ac.
@JanWielemaker
Copy link
Member

This pull request has been mentioned on SWI-Prolog. There might be relevant details there:

https://swi-prolog.discourse.group/t/sweep-module-so-undefined-symbol-pl-version-info/5842/13

@eshelyaron eshelyaron force-pushed the new-flags-executable-format-and-libswipl branch from 0d41e49 to 8b4fbcb Compare October 13, 2022 05:17
@JanWielemaker JanWielemaker deleted the new-flags-executable-format-and-libswipl branch October 13, 2022 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants