unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Oleg Parashchenko <olpa@xmlhack.ru>
Subject: Re: scm_init_guile when null threads
Date: Sun, 2 Apr 2006 06:48:12 +0400	[thread overview]
Message-ID: <20060402064812.1191cb0c.olpa@xmlhack.ru> (raw)
In-Reply-To: 871wwhwtyh.fsf@ossau.uklinux.net

Hello Nail,

On Sat, 01 Apr 2006 10:01:10 +0100
Neil Jerram <neil@ossau.uklinux.net> wrote:

> Oleg Parashchenko <olpa@xmlhack.ru> 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
> Guile-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/guile-devel
> 



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2006-04-02  2:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-01  5:24 scm_init_guile when null threads Oleg Parashchenko
2006-04-01  9:01 ` Neil Jerram
2006-04-02  2:48   ` Oleg Parashchenko [this message]
2006-04-02  5:50     ` Ken Raeburn
2006-04-02 15:29       ` Oleg Parashchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060402064812.1191cb0c.olpa@xmlhack.ru \
    --to=olpa@xmlhack.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).