GNU bug report logs - #10474
Building guile 2.x under mingw + msys

Previous Next

Package: guile;

Reported by: Andy Wingo <wingo <at> pobox.com>

Date: Tue, 10 Jan 2012 21:59:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andy Wingo <wingo <at> pobox.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: ludo <at> gnu.org, 10474 <at> debbugs.gnu.org
Subject: bug#10474: Building guile 2.x under mingw + msys
Date: Tue, 19 Feb 2013 16:47:02 +0100
Hi Eli,

On Thu 02 Feb 2012 18:34, Eli Zaretskii <eliz <at> gnu.org> writes:

>  . module/ice-9/boot-9.scm -- absolute-path? does not support Windows
>                               file names with drive letters.  Windows
>                               absolute file names match the regex
>                               "\([a-zA-Z]:\)?[\\/]".  I don't know
>                               Scheme well enough to write this in a
>                               clean way, sorry...

I pushed a fix that recognizes drive components and UNC file names as
absolute, and that attempts to allow for (and prefer) backslash as a
file name separator on Windows systems.

> 	Fix startup of guile.exe on MS-Windows.
>
> 	* module/system/base/compile.scm (call-with-output-file/atomic):
> 	Call close-port before deleting the temporary file name, otherwise
> 	deletion fails on MS-Windows (cannot delete a file that is still
> 	open).

Applied, thanks.

> 	* libguile/load.c (scm_init_load_path) [__MINGW32__]: Convert
> 	backslashes to forward slashes in values of GUILE_LOAD_PATH and
> 	GUILE_LOAD_COMPILED_PATH.

Is this necessary now that backslash is recognized as a file name
separator?  I did not apply this part yet.

Still working on the rest.

Thanks,

Andy
-- 
http://wingolog.org/




This bug report was last modified 12 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.