[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] argv question
From: |
Sven Hartrumpf |
Subject: |
Re: [Chicken-users] argv question |
Date: |
Wed, 31 Jul 2002 08:37:54 +0200 (CEST) |
On 31 Jul 2002, Peter Keller <address@hidden> wrote:
> using build 1071 of chicken this little program segfaults when compiled and
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;; file t.scm
>
> (declare
> (usual-integrations)
> (block)
add: (uses srfi-1)
> (not safe)
> (fixnum) )
>
> (define (main)
> (print (last (argv))))
>
> (main)
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>
> chicken t.scm
> gcc out.c `chicken-config -cflags -libs` -Wno-unused -o out
Instead of these two commands, use csc -v t.scm
> ./t
./t
Done.
Sven