guile-devel
[Top][All Lists]
Advanced

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

site %load-compiled-path


From: Andy Wingo
Subject: site %load-compiled-path
Date: Thu, 21 Jul 2011 10:21:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Hi,

I realized in the discussion with Ian Hulin that a number of my projects
are installing their .go files in the wrong place -- to the datadir
instead of to the libdir.  That's silly, because the datadir isn't in
the load-compiled-path.

Consider the default load paths on this Guile installed to /opt/guile:

  scheme@(guile-user)> %load-compiled-path 
  $1 = ("/opt/guile/lib/guile/2.0/ccache")
  scheme@(guile-user)> %load-path 
  $2 = ("/opt/guile/share/guile/2.0" "/opt/guile/share/guile/site/2.0"
        "/opt/guile/share/guile/site" "/opt/guile/share/guile")

I'm installing my Scheme files to site/ or site/2.0/.  We probably need
a corresponding site dir for compiled files.  So if there are no
objections I will add $libdir/guile/site/2.0/ccache to the load-compiled
path.  (We don't need the site/ versus site/2.0/ distinction, as
compilation is naturally version-specific.)

Regards,

Andy
-- 
http://wingolog.org/



reply via email to

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