[gambit-list] simple gsc'd program segfaults

Stephen Sinclair radarsat1 at gmail.com
Tue Aug 25 18:22:23 EDT 2009


On Tue, Aug 25, 2009 at 6:22 PM, Stephen Sinclair<radarsat1 at gmail.com> wrote:
> On Tue, Aug 25, 2009 at 6:12 PM, Ivan Kelly<ivan at ivankelly.net> wrote:
>> On Tue, Aug 25, 2009 at 06:10:35PM -0400, Stephen Sinclair wrote:
>>> $ gsc -o test test.scm
>> try gsc -exe test.scm
>
> As you mentioned to me on IRC, I guess this isn't available in the
> Ubuntu version.  Maybe it's worth installing from source..
>
>>
>>> $ gsc -link -o test.c test.scm
>>>
>>> $ gcc -o test test.c -lgambc
>> gsc -link will also produce a test_.c file, you need to compile that
>> also.
>>
>
> Thanks, that worked!
>
> I see now that if I use both -link and -o, it doesn't produce test_.c.
>  However, just -link produces the two .c files, which don't segfault.
>
> cheers,
> Steve
>



More information about the Gambit-list mailing list