From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#10474: Building guile 2.x under mingw + msys Date: Tue, 19 Feb 2013 16:47:02 +0100 Message-ID: <87fw0s2tmx.fsf@pobox.com> References: <87pqerdxq4.fsf@pobox.com> <83ehuy698u.fsf@gnu.org> <8362ga5h7h.fsf@gnu.org> <87r4ywpnv0.fsf@gnu.org> <83r4yw49u6.fsf@gnu.org> <87y5smnj86.fsf@pobox.com> <83ehudp29y.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361288892 22886 80.91.229.3 (19 Feb 2013 15:48:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Feb 2013 15:48:12 +0000 (UTC) Cc: ludo@gnu.org, 10474@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Feb 19 16:48:33 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U7pQg-000697-L8 for guile-bugs@m.gmane.org; Tue, 19 Feb 2013 16:48:26 +0100 Original-Received: from localhost ([::1]:60250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7pQM-00013v-Cn for guile-bugs@m.gmane.org; Tue, 19 Feb 2013 10:48:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7pQI-00013M-V4 for bug-guile@gnu.org; Tue, 19 Feb 2013 10:48:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7pQC-0001kE-CL for bug-guile@gnu.org; Tue, 19 Feb 2013 10:48:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7pQC-0001k9-8N for bug-guile@gnu.org; Tue, 19 Feb 2013 10:47:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U7pRF-000681-RF for bug-guile@gnu.org; Tue, 19 Feb 2013 10:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Wingo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 19 Feb 2013 15:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10474 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 10474-submit@debbugs.gnu.org id=B10474.136128889423506 (code B ref 10474); Tue, 19 Feb 2013 15:49:01 +0000 Original-Received: (at 10474) by debbugs.gnu.org; 19 Feb 2013 15:48:14 +0000 Original-Received: from localhost ([127.0.0.1]:37041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7pQU-000675-Bh for submit@debbugs.gnu.org; Tue, 19 Feb 2013 10:48:14 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:49260 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7pQS-00066x-Fn for 10474@debbugs.gnu.org; Tue, 19 Feb 2013 10:48:13 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 155A09B0C; Tue, 19 Feb 2013 10:47:06 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=xztCjxn4QbilNzv+YcoQTgynzk4=; b=c/bjAU HbyQxwAnG5rLp0T759ZNaABJ9UNPts0pflH4VwQkDvgOeBMRhLBeRIVZ0ws4COhv Rr9NMGcvInaowzH/PE7PTzDVA8+Mc7KIrBXmg0sRe5Hw9kCCrPANZCvDvGp+m2rm 20+KvYLci+b4Jm1s1vtVJq5UN1mDZAK7tIzQU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=kZysupJ4/z6y9VFiBH6sLr/qA9hI++go LVI3EphuNsOT6eL2QQh0428n1uLSE1wiR6c77NepPmWdjIjsGYLNyfG8ESyLXraD +O/fKVv/32D5OrTVge+0ZMli0pmvXSgetOqZCwAqtNUhWE0awrUS/Fy6/dO4LjRp QQnA15XObiA= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 0B0359B0B; Tue, 19 Feb 2013 10:47:06 -0500 (EST) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 65C8C9B0A; Tue, 19 Feb 2013 10:47:05 -0500 (EST) In-Reply-To: <83ehudp29y.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Feb 2012 19:34:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: 9C56F4A4-7AAB-11E2-93DC-BB980E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6757 Archived-At: Hi Eli, On Thu 02 Feb 2012 18:34, Eli Zaretskii 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/