[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On the deprecated auto-loading of compiled-code modules
From: |
Matthias Koeppe |
Subject: |
On the deprecated auto-loading of compiled-code modules |
Date: |
29 Apr 2001 19:54:10 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
I embed Guile statically into a program. Currently I am using
scm_register_module_xxx to register modules implemented in C with
Guile, before starting the interpreter. In the current CVS Guile, I
get the misleading warning:
;;; Autoloading of compiled code modules is deprecated.
;;; Write a Scheme file instead that uses `dynamic-link' directly.
;;; (You just tried to autoload module (gywopt primitives augm).)
1) This warning should also mention the case of statically linked
modules registered via scm_register_modules_xxx.
2) What is the "correct" way to register modules in the static case? I
somehow need to expose the C-level initialization function to the
yet-to-be-started interpreter; this is what
scm_register_modules_xxx was for.
--
Matthias Köppe http://www.math.uni-magdeburg.de/~mkoeppe
SWIG 1.3a5 builds Guile/C glue http://www.swig.org
ILISP CVS version does Emacs/Guile interaction http://ilisp.cons.org
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- On the deprecated auto-loading of compiled-code modules,
Matthias Koeppe <=