From: Daishi Kato <dai...@axlight.com> 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 <dai...@axlight.com> >> 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 _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users