[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scm_init_guile when null threads
From: |
Oleg Parashchenko |
Subject: |
Re: scm_init_guile when null threads |
Date: |
Sun, 2 Apr 2006 06:48:12 +0400 |
Hello Nail,
On Sat, 01 Apr 2006 10:01:10 +0100
Neil Jerram <address@hidden> wrote:
> Oleg Parashchenko <address@hidden> writes:
>
> > Hello,
> >
> > I'm trying to compile a program which uses libguile 1.8.0 under
> > Windows under MinGW. The program is a plugin which uses scm_init_guile
> > to initialize Guilde when loaded. Unfortunately, the program doesn't
> > compile due to undefined reference to scm_init_guile. Looking in the
> > archives, I found the same issue for FreeBSD. As I understand, the
> > function scm_init_guile indeed isn't available with null threads.
> >
> > Are there any workarounds? Quick and dirty temporary fixes are ok.
>
> Could you easily rework the program to use scm_boot_guile or
> scm_with_guile instead?
No, scm_boot_guile doesn't return, and I can't guess what scm_with_guile
does. But looking at sources, I found the function scm_i_init_guile. This
might be exactly what I need, I'll try later.
>
> Neil
>
>
>
> _______________________________________________
> Guile-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/guile-devel
>