chicken-users
[Top][All Lists]
Advanced

[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


From: Jeronimo Pellegrini
Subject: Re: [Chicken-users] Is it possible to change the list of included modules when compiling Chicken?
Date: Sun, 12 May 2019 08:39:59 -0300
User-agent: Mutt/1.10.1 (2018-07-13)

Hello,

On Sun, May 12, 2019 at 09:18:16AM +0200, Kristian Lein-Mathisen wrote:
> 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.

Yes, but although I could get csi to run on the target, csc and chicken
(the compiler) did not work as expected (didn't interact well with 
target gcc).
But I'll keep trying to get that to work.

J.

> K.
> 
> On Sun, May 12, 2019, 9:01 AM Peter Bex <address@hidden> wrote:
> 
> > On Sat, May 11, 2019 at 08:28:23PM -0300, Jeronimo Pellegrini wrote:
> > > Hello,
> > >
> > > 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.
> >
> > Hi Jeronimo,
> >
> > 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.
> >
> > Cheers,
> > Peter
> > _______________________________________________
> > Chicken-users mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/chicken-users
> >

> _______________________________________________
> Chicken-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-users




reply via email to

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