[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Is it possible to change the list of included module
Re: [Chicken-users] Is it possible to change the list of included modules when compiling Chicken?
Sun, 12 May 2019 09:18:16 +0200
Perhaps an option would be to cross-compile CHICKEN for your target, and run chicken-install with that? That should give you the eggs as shared libs for your target, which you could simply copy over. That'd require a C compiler for your target on your host, though.
On Sat, May 11, 2019 at 08:28:23PM -0300, Jeronimo Pellegrini wrote:
> I was wondering if it is possible to remove or add modules to
> the list of default included modules that come with Chicken.
> I am compiling it for wireless routers, and so far I could not yet
> package csc -- so getting modules with chicken-install doesn't
> work for me.
I'm not sure what you're trying to do, but are statically linked
binaries of your program not an option for you? This would be one
single binary file you can just put onto the router.
> Would it be possible to
> - get the source of a couple of eggs, and put them somewhere with
> the Chicken sources,
> - add their name/path to a list,
> and have them compiled and included in $PREFIX/lib/chicken/9/
> when Chicken is compiled?
Technically this should be possible I think, but I don't know of an
easy way to do this currently.
Chicken-users mailing list