chicken-users
[Top][All Lists]
Advanced

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

Re: static linking (Re: [Chicken-users] wish-list


From: Felix
Subject: Re: static linking (Re: [Chicken-users] wish-list
Date: Sun, 31 Oct 2010 23:46:18 +0100 (CET)

From: Daishi Kato <address@hidden>
Subject: Re: static linking (Re: [Chicken-users] wish-list
Date: Fri, 29 Oct 2010 22:57:23 +0900

> At Fri, 29 Oct 2010 04:48:14 -0400 (EDT),
> Felix wrote:
>> 
>> From: Daishi Kato <address@hidden>
>> Subject: static linking (Re: [Chicken-users] wish-list
>> Date: Thu, 28 Oct 2010 01:04:27 +0900
>> 
>> Oh, and I forgot to mention that you can also use the `-deploy'
>> option for `csc' and `chicken-install' - that might be a 
>> simpler way to create a standalone application.
> 
> Oh, this sounds something. Yes, I don't need to eliminate ld dependence.
> I'm not sure if I understand the usage of -deploy.
> 
> csc:
>     -deploy                        deploy self-contained application bundle
> 
> chicken-install:
>        -deploy                  build extensions for deployment
> 
> So, I can just re-install all eggs with -deploy.
> and compile my app with -deploy, which produces
> an executable which only depends libc and some standard libs?

You build your application with `csc -deploy ...' and then
use `chicken-install -deploy -p <application-directory> <extension> ...'
to build the extensions and install them into the application-directory.
See also:

  http://wiki.call-cc.org/man/4/Deployment


cheers,
felix



reply via email to

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