guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: request for help with module build/install


From: Nala Ginrut
Subject: Re: request for help with module build/install
Date: Thu, 02 Jul 2015 11:12:58 +0800

hi Matt!
For .scm files, you may put it to (%site-dir)
MOD_PATH := $(shell guile -c "(display (%site-dir))")

For compiled .go, you may put it to (%site-ccache-dir) here:
COMPILED_MOD := $(shell guile -c "(display (%site-ccache-dir))")

And it won't be compiled again when you load it.

Happy hacking!

On Wed, 2015-07-01 at 17:56 -0700, Matt Wette wrote:
> Hi Folks,
> 
> I have developed a set of guile modules.   I'd like to be able to generate a 
> package hosted on, say, github.com (or any other recommended site).   Is 
> there a document providing guidance for this task?   For example, looking at 
> "%load-path" in guile I'm guessing I want the code to be installed in 
> .../share/guile/2.0/site or .../share/guile/site.  Is the "site-dir" 
> available as a variable?
> 
> Once installed, I'm guessing I can just use guild to compile and that will 
> install the .go files in the right place (e.g.,  .../lib/guile/ccache/2.0).
> 
> Matt





reply via email to

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