---- Neil Jerram <neiljer...@googlemail.com> wrote: > scm_init_guile has always been a bit problematic, as it requires lots > of heuristic and OS-dependent code to try to determine where the base > of the stack is. It's never been formally deprecated, but we have > always advised people to use scm_boot_guile or scm_with_guile if they > can, and the manual says: > > The function `scm_init_guile' might not be available on all > platforms since it requires some stack-bounds-finding magic that > might not have been ported to all platforms that Guile runs on. > Thus, if you can, it is better to use `scm_with_guile' or its > variation `scm_boot_guile' instead of this function.
[ ... ] > Thoughts? On the other hand, does moving to BDW-GC take a lot of this > out of our hands anyway? In any case, it would be interesting to hear > whether people think that scm_init_guile is really needed. Iirc, scm_init_guile is mainly used when you do not have access to main(), for example writing a module for apache. Generally, when you want to add Guile to an already existing application that has plugins or extension modules via .so's. -Dale