Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <199120-22002104315458731@M2W060.mail2web.com> X-Priority: 3 Reply-To: lhall AT rfk DOT com X-Originating-IP: 209.113.174.244 From: "lhall AT pop DOT ma DOT ultranet DOT com" To: kewarken AT qnx DOT com, cygwin AT cygwin DOT com Subject: RE: textmode.o, automode.o, etc. Date: Wed, 2 Oct 2002 21:54:58 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 03 Oct 2002 01:54:58.0612 (UTC) FILETIME=[E0E26740:01C26A7F] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g931tBt24393 Whenever you're looking to find out where a file or utility is in Cygwin (assuming you don't have it local that you can just search), use http://cygwin.com/packages/. It will tell you the package that contains the file. In this case, these files come with the Cygwin package so if you've installed Cygwin via setup, you have the files in question. textmode.o, automode.o, and binmode.o do as you surmise. They just set the mode of unspecified file I/O. You can find lots of discussion of these files and their operation in the email list archives. Take a look there and/or at the source if you're interested in more details. But I have to agree with Chris on this. If your main goal is to just get a cpp that works the way Cygwin's does, your best bet is to just download the source via setup and use it. Since Chris is the maintainer for gcc, I don't think you'll get better advice on how to get like functionality. Larry Original Message: ----------------- From: Kris Warkentin kewarken AT qnx DOT com Date: Wed, 2 Oct 2002 14:11:04 -0400 To: cygwin AT cygwin DOT com Subject: textmode.o, automode.o, etc. Can anyone point me to some documentation as to what these are and how they're supposed to be used? I see that binmode.o and textmode.o have a __fmode defined. Does it change the default file opening behaviour? cheers, Kris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/