|
From: | felix winkelmann |
Subject: | Re: [Chicken-users] CMake/MinGW build 325 is using wrong (Unix) filename separator |
Date: | Fri, 14 Jul 2006 15:33:56 +0200 |
On 7/14/06, Ian Oversby <address@hidden> wrote:
As can be seen from the text below, chicken is using Unix-style forward slashes to separate directories within filenames when it should be using backslashes. This is causing errors when executing windows commands such as copy. Changing CHICKEN_HOME to c:/chicken-new does not work either as copy still fails with all forward slashes which is a surprise to me - I thought Windows could use either forward or backward slashes for filenames.
A possibly stupid question: when using mingw32, one uses the normal Windows shell, right? In that case the proper pathname directory separator should be "\". Here is another patch that fixes a bug which resulted in "/" separators on mingw32: (library.scm) 2831,2834c2831 < (if (or (eq? 'msdos st) < (and (eq? 'windows st) < (let ([bp (build-platform)]) < (not (or (eq? 'cygwin bp) (eq? 'mingw32 bp))) ) ) ) ---
(if (and (eq? 'windows st) (not (eq? (build-platform) 'cygwin)))
cheers, felix
[Prev in Thread] | Current Thread | [Next in Thread] |