On Tue, Sep 16, 2025, 4:57 AM Maxim Cournoyer <[email protected]> wrote:

> Hi,
>
> Nikolaos Chatzikonstantinou <[email protected]> writes:
>
> > On Fri, Sep 12, 2025 at 8:58 AM Maxim Cournoyer <[email protected]>
> wrote:
> >> > 1) The issues with Guile and Autotools need to be outlined: a) Guile
> >> > wants to install both source and compiled files b) Guile is
> >> > second-class to Autotools (say, unlike C) and c) the mtime issue with
> >> > the .scm.go rule that currently requires a "hack" to fix on Autotools.
> >> > To be specific, I'm talking about Automake too when I mention
> >> > Autotools. The examples in the manual only consider Autoconf.
> >> > 2) More examples need to be included, both as snippets in the manual
> >> > and full examples in the GNU Guile distribution.
> >> > 3) The meta/guile.m4 file has issues that need fixing, for instance
> >> > GUILE_SITE is a hardcoded path that disallows the use of --prefix.
> >>
> >> What is the mtime issue with .scm.go? I don't think I've encountered a
> >> problem with it. Anyway, this all sounds very useful to document and/or
> >> fix, so I'd encourage you to work on it.
> >
> > Briefly, imagine that the user installs /usr/bin/foo which is a Guile
> > script, with corresponding .go file which is in the ccache. When
> > executed for the first time, unless the installation preserved the
> > mtime of the ccache object to be larger than of the script, it will be
> > recompiled.
>
> Are you sure about this? If the mtimes are equal, wouldn't that be good
> enough?


Yes, greater or equal but not lower.


Regards,
Nikolaos Chatzikonstantinou

>
>

Reply via email to