[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) |
Paul,
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
make.info 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))
#f)
(define (mkwrite s)
(display s MKPORT)
(newline MKPORT)
#f)
(define (mkclose)
(close-port MKPORT)
#f)
#f
endef
# 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,
Kirill
- Re: Guile support in GNU make, (continued)
- Re: Guile support in GNU make, Ludovic Courtès, 2012/01/16
- Re: Guile support in GNU make, Paul Smith, 2012/01/16
- Re: Guile support in GNU make, Ludovic Courtès, 2012/01/17
- Re: Guile support in GNU make, Paul Smith, 2012/01/17
- Re: Guile support in GNU make, Ludovic Courtès, 2012/01/19
- Re: Guile support in GNU make, Ludovic Courtès, 2012/01/19
Re: Guile support in GNU make, Paul Smith, 2012/01/22
Re: Guile support in GNU make, Ludovic Courtès, 2012/01/25