Hi, is there a way to "package" set of guile scripts, possibly with other files like extensions, shared libraries, etc all combined into a single executable? Something like PyInstaller for Python. Thanks for info.
I think the last release of Guile Chickadee by DThompson (<https://dthompson.us/projects/chickadee.html>) provides a program that is supposed to generate standalone binaries (in the context of games). You may find either that program or insight from that program useful? Good luck, Alex Andy Tai <atai@atai.org> writes: > Hi, is there a way to “package” set of guile scripts, possibly with > other files like extensions, shared libraries, etc all combined into a > single executable? Something like PyInstaller for Python. Thanks for > info.
Hi Andy, > Hi, is there a way to "package" set of guile scripts, possibly with > other files like extensions, shared libraries, etc all combined into a > single executable? Something like PyInstaller for Python. Thanks for > info. Not that I'm aware of, but `guix pack' probably comes closest. https://guix.gnu.org/manual/en/html_node/Invoking-guix-pack.html Not exactly what you want, but hope that helps! Regards, Arun
It doesn't actually generate standalone binaries. It is very hacky but it
can produce redistributable tarballs for a specific use-case (games using
chickadee) by including shared libraries and other bits from the host
system. Standalone executables will not really be possible until Guile's
compiler is capable of producing them.
- Dave
On Mon, Jun 6, 2022 at 9:32 AM Alex Sassmannshausen via General Guile
related discussions <guile-user@gnu.org> wrote:
> I think the last release of Guile Chickadee by DThompson (<
> https://dthompson.us/projects/chickadee.html>) provides a program that is
> supposed to generate standalone binaries (in the context of games).
>
> You may find either that program or insight from that program useful?
>
> Good luck,
>
> Alex
>
>
> Andy Tai <atai@atai.org> writes:
>
> > Hi, is there a way to “package” set of guile scripts, possibly with
> > other files like extensions, shared libraries, etc all combined into a
> > single executable? Something like PyInstaller for Python. Thanks for
> > info.
>
On 22/06/07 08:02am, Thompson, David wrote:
> It doesn't actually generate standalone binaries. It is very hacky but it
> can produce redistributable tarballs for a specific use-case (games using
> chickadee) by including shared libraries and other bits from the host
> system. Standalone executables will not really be possible until Guile's
> compiler is capable of producing them.
>
> - Dave
>
> On Mon, Jun 6, 2022 at 9:32 AM Alex Sassmannshausen via General Guile
> related discussions <guile-user@gnu.org> wrote:
>
> > I think the last release of Guile Chickadee by DThompson (<
> > https://dthompson.us/projects/chickadee.html>) provides a program that is
> > supposed to generate standalone binaries (in the context of games).
> >
> > You may find either that program or insight from that program useful?
> >
> > Good luck,
> >
> > Alex
> >
> >
> > Andy Tai <atai@atai.org> writes:
> >
> > > Hi, is there a way to “package” set of guile scripts, possibly with
> > > other files like extensions, shared libraries, etc all combined into a
> > > single executable? Something like PyInstaller for Python. Thanks for
> > > info.
> >
Hi,
The only solution I can think of is to create a script which would
collect code from multiples files into a similar file. Not a great
solution but it sounds like no good solutions exist so this might be a
possibility?
Hope you find something that works.
On Tue, 07 Jun 2022, "Thompson, David" <dthompson2@worcester.edu> wrote: > It doesn't actually generate standalone binaries. It is very hacky but it > can produce redistributable tarballs for a specific use-case (games using > chickadee) by including shared libraries and other bits from the host > system. Kind of like what `guix pack' does? > Standalone executables will not really be possible until Guile's > compiler is capable of producing them. I guess it would be possible if someone were to make a linker that links all *.go files together. Than a loader could load that single file and setup thing to run in the Guile's VM. -- Olivier Dion oldiob.dev