This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: textmode.o, automode.o, etc.


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@qnx.com
Date: Wed, 2 Oct 2002 14:11:04 -0400
To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]