[Top][All Lists]

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

Re: Guile support in GNU make

From: Kirill Smelkov
Subject: Re: Guile support in GNU make
Date: Tue, 31 Jan 2012 23:17:56 +0400
User-agent: Mutt/1.5.21 (2010-09-15)


On Sun, Jan 29, 2012 at 03:05:54PM -0500, Paul Smith wrote:
> On Mon, 2012-01-23 at 07:08 +0100, Thien-Thi Nguyen wrote:
> > Best is ‘string-every’ w/ ‘char-set:printing’ directly.
> I implemented this change.  Seemed to work in both Guile 1.8 and 2.0.3.

Thanks for fixing this.

> However, please see my recent email to the guile-user list: I'm getting
> error output from GNU make compiled with Guile 2.0.3 every time I use
> (define ...), even completely unrelated to this.  The same code works
> fine in Guile 1.8.
> Did anyone else see these with GNU make / Guile 2.0.3?  Maybe I just
> built or installed my version of 2.0.3 incorrectly somehow (I'm using
> the 1.8 that was provided with my GNU/Linux distribution).

My Guile is

        address@hidden:~$ guile --version
        guile (GNU Guile) 2.0.3-deb+1-2

from Debian testing, and I don't see the problem for test from the example - it works ok:

        define GUILEIO
        ;; A simple Guile IO library for GNU make
        (define MKPORT #f)
        (define (mkopen name mode)
          (set! MKPORT (open-file name mode))
        (define (mkwrite s)
          (display s MKPORT)
          (newline MKPORT)
        (define (mkclose)
          (close-port MKPORT)
        # Internalize the Guile IO functions
        $(guile $(GUILEIO))
        # now test the thing
        $(guile (mkopen "tmp.out" "w"))
        $(guile (mkwrite "Hello"))
        $(guile (mkclose))
        $(stop 1)

Is it that (define ...) or maybe I've misunderstood something?

Thanks again,

reply via email to

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