[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Distributing compiled C files
From: |
Ivan Raikov |
Subject: |
Re: [Chicken-users] Distributing compiled C files |
Date: |
Fri, 28 Dec 2007 20:50:48 +0900 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Okay, I regenerated library.c (and made sure it is compiled with
-explicit-use), and hello.scm works now. I suppose library.scm was not
compiled with the right flags before. Thanks for your help.
-Ivan
"felix winkelmann" <address@hidden> writes:
>
> This is a mystery to me.
>
> % cat hello.scm
> (display "Hello!\n")
> % csc hello.scm -t -explicit-use -v -I ~/chicken/ -uses library -static
> /usr/bin/chicken hello.scm -output-file hello.c -feature
> chicken-compile-static -quiet -explicit-use -include-path
> /Users/felix/chicken/ -uses library
> % cc hello.c ~/chicken/library.c ~/chicken/runtime.c -o hello -lm
> % hello
> Hello!
>
> Is your library.c up to date?