chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Static compile


From: felix winkelmann
Subject: Re: [Chicken-users] Static compile
Date: Fri, 5 Jan 2007 13:43:48 +0100

Hi!

I think I can't provide a general solution in the moment. But you can modify
your main application by replacing

(require-extension csv)

with

(declare (uses csv))

If you prefer to allow your code to be compiled as a normal and a static
application, you can do:

(cond-expand
 (staticbuild (declare (uses csv)))
 (else (require-extension csv)) )

and compile the static version with "-D staticbuild".


cheers,
felix




reply via email to

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