David Hansen <[EMAIL PROTECTED]> writes:

> Hello,
> 
> my first guile code started with a SIGSEGV.  Not sure if
> it's not my fault but looks like a bug to me.
> 
> ,----[ gtst.c ]
> | // -*- compile-command: "gcc -g -Wall `guile-config compile` `guile-config link` 
> gtst.c -o gtst" -*-
> | 
> | #include <libguile.h>
> | 
> | int
> | main (void)
> | {
> |         SCM str = scm_makfrom0str ("hello world");
> |         return 0;
> | }
> `----

You need to follow a more particular model for your main function.
Please see node `A Sample Guile Main Program' in the manual.

        Neil


_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile

Reply via email to