Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <4.3.1.2.20000416222455.00c99f00@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Sun, 16 Apr 2000 22:32:35 -0400 To: Mo DeJong From: "Larry Hall (RFK Partners, Inc)" Subject: Re: setup.exe in the "latest" directory (more installer testing) Cc: "cygwin AT sourceware DOT cygnus DOT com" In-Reply-To: References: <4 DOT 3 DOT 1 DOT 2 DOT 20000416201452 DOT 00ba8860 AT pop DOT ma DOT ultranet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 10:11 PM 4/16/00, Mo DeJong wrote: > > binmode means that all file opens that don't specify > > otherwise will open as binary. This is a "good thing" for > > source coming from *NIX environments since binary is the > > default mode there (and text mode = binary mode on those > > platforms). I believe implicit mounts default to text > > mode, which would explain your problem. Binary vs text mode > > is an old controversy. Unfortunately, it doesn't matter > > which side of the fence you are on. There will always be > > someone who will argue the other side. Anyway, that's > > probably what you're seeing... > > > > > > Larry Hall lhall AT rfk DOT com > > RFK Partners, Inc. http://www.rfk.com > > 118 Washington Street (508) 893-9779 - RFK Office > > Holliston, MA 01746 (508) 893-9889 - FAX > > (508) 560-1285 - cell phone > >So it sounds like drives mounted under /cygdrive are in "textmode". >I am guessing this is done so that dos files an EOL of \r\n gets >read as \n when opened by unix programs. I can see how this would >be a very tricky problem. This problem is going to trip people >up time and time again, so perhaps that right want to address >this is to put a big note at the top of the readme that says >"Don't try to build unix programs in a directory on a mounted >drive like /cygdrive/c !!! Untar and build your unix programs >in a directory in the root filesystem like /tmp." Well, that's one option (or a variant of it). The other is to be sure that the utilities being used to do the building don't assume binary files if they are required. In your case, I would say autoconf needs to be "ported" to Windows by having the source changed to open files explicitly in binary mode. The second option is a better one overall since it solves the problem so that others won't see them no matter what they do... >Also, I read FAQ "How can I access other drives?" and it looks >like it needs to be updated to include the new /cygdrive feature. I'd tend to agree. >Is the cygwin web site available as a CVS module? Other cygnus >projects allow you to check out "htdocs", it contains entire >web site so it makes it very easy to submit patches for HTML files. >The FAQ is going to need lots of updating after this >release, so if we want people to help out the least we could >do is put the web pages in the CVS so that it is easy to keep >track of changes. Sounds reasonable to me though I can't comment on whether it (or something similar) will be done. Larry -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com