|
From: | Panicz Maciej Godek |
Subject: | Re: guile-2.0 on mingw: the sequel |
Date: | Sat, 24 Aug 2013 10:05:13 +0200 |
> yes, it seems that this was the reason. So now the guileDoes this work on other platforms? (I know almost nothing about
> interpreter runs properly, but I still have a problem with
> running a program that, having been linked against
> libguile, would call scm_with_guile or scm_init_guile, e.g.
> ===
> #include <libguile.h>
> void hi(void *unused) { scm_puts("hello!\n", scm_current_output_port()); }
> int main() {
> scm_with_guile(hi, NULL);
> return 0;
> }
> ===
linking C programs with libguile; maybe your program has a bug, or you
are missing some function call necessary for this to work?)
> I compile it under msys in c:/guile-2.0/bin (i.e. prefix/bin) usingThere should be no need to compile under MSYS, you can compile from
> $ gcc -o hello.exe hello.c -I ../include/guile/2.0 -lguile-2.0
the Windows cmd window. I don't think that's the reason for your
problems, but it's worth a try.
[Prev in Thread] | Current Thread | [Next in Thread] |