[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Chicken thinks Cygwin is windows platform
From: |
felix |
Subject: |
Re: [Chicken-users] Chicken thinks Cygwin is windows platform |
Date: |
Sun, 06 Apr 2003 22:19:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 |
Dale Jordan wrote:
The function C_software_type at line 6382 in runtime.c is classifying Cygwin
as "windows" software type. This has the effect of setting the
path-directory-separator character to #\\, with disastrous effect. While
not knowing all the ramifications, I changed Cygwin to be "unix" type, which
solved the immediate problems of "csi -hygienic" and "csi -setup" failing.
Does this cause any other problems?
In fact, even under Cygwin, (software-type) should return 'windows
(because that's what it is). Using #\\ for the pathname separator is
still wrong for cygwin of course, so the code that assigns the
value in library.c has to check for (software-type) being msdos or
windows (unless (build-platform) returns 'cygwin or 'mingw32).
This is actually fixed in the current CVS version (well, half of it,
it doesn't yet check for mingw32).
cheers,
felix