bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segmentation fault in scm_igc


From: Neil Jerram
Subject: Re: Segmentation fault in scm_igc
Date: 07 Mar 2004 15:27:09 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

David Hansen <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]