|
From: | felix |
Subject: | Re: [Chicken-users] static linking - how to? |
Date: | Thu, 25 Mar 2010 14:50:33 +0100 |
User-agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
Jörg F. Wittenberger schrieb:
Hi all, I failed miserably when trying to link a chicken program statically. I my case I tried "tk", found in the manual/Extensions that I would have to convert the egg first to support static linking. As a temporary workaround I put the required csc call in my Makefile csc -c tk.scm -unit tk Next the manual says to compile like this csc -static-extensions myprog.scm -uses tk
I have added support for static linking to tk (1.9). Try: chicken-install tk csc -static-extension tk myprog.scm The manual is wrong, I fixed that. cheers, felix
[Prev in Thread] | Current Thread | [Next in Thread] |