This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

module loading


I noticed this problem a month ago. Mikael Djurfeldt sent me boot.scm
that he patched, but now I am not sure if I can use it because the
ice-9 directory has been reorganized. Namely, if I define a module
using scm_register_module_xxx("pgrt vo", scm_vo_init) and dynamic
linking, _and_ have Scheme file ${SCHEME_LIBRARY_PATH}/pgrt/vo.scm, I
want them to be loaded both when I write `(use-modules (pgrt
vo))'. However, only the C part is loaded; I have to use `(load
".../pgrt/vo.scm")' afterwards in order to get both. If there is no C
part but only Scheme one, it works.

Has something changed in the way modules are loaded or this is still a
bug?

Thanks,
Aleks

-- 
Aleksandar Bakic, Comp.Sci. graduate student at Michigan State University
e-mail: bakicale@cps.msu.edu