unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Maybe missing features on guild
@ 2016-11-25 14:05 Lluís Vilanova
  2016-12-23 21:29 ` Alex Kost
  0 siblings, 1 reply; 2+ messages in thread
From: Lluís Vilanova @ 2016-11-25 14:05 UTC (permalink / raw)
  To: guile-devel

Hi guiler crowd!

I have a project that uses guile as a scripting system, and want to provide both
the scm sources and compiled go files as part of the installation.

But I've found the following issues (using guile 2.1.4):

* Argument --load-path for "guild compile" sets %load-path, but not
  %load-compiled-path. AFAIU, loading a .go dependency instead of a .scm one
  might make compilation slightly faster.

* If my scm code depends on an external binary library, I have to set
  LD_LIBRARY_PATH for guild to find it. Maybe it'd be a bit easier to provide an
  argument on guild to add a path to the binary library search path. Since this
  is platform-dependant, it might be more pain than is really worth it.


Cheers,
  Lluis



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Maybe missing features on guild
  2016-11-25 14:05 Maybe missing features on guild Lluís Vilanova
@ 2016-12-23 21:29 ` Alex Kost
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Kost @ 2016-12-23 21:29 UTC (permalink / raw)
  To: guile-devel

Lluís Vilanova (2016-11-25 15:05 +0100) wrote:

> Hi guiler crowd!
>
> I have a project that uses guile as a scripting system, and want to provide both
> the scm sources and compiled go files as part of the installation.
>
> But I've found the following issues (using guile 2.1.4):
>
> * Argument --load-path for "guild compile" sets %load-path, but not
>   %load-compiled-path. AFAIU, loading a .go dependency instead of a .scm one
>   might make compilation slightly faster.

I also think "-C/--load-compiled-path" is a missing feature of "guild
compile".  As a workaround, I call guild like this:

  GUILE_LOAD_COMPILED_PATH=... guild compile ...

-- 
Alex



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-23 21:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-25 14:05 Maybe missing features on guild Lluís Vilanova
2016-12-23 21:29 ` Alex Kost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).