X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <95455e980802200315k5b420747iffe1ab7a6e69035b@mail.gmail.com> Date: Wed, 20 Feb 2008 22:15:07 +1100 From: hce To: cygwin AT cygwin DOT com Subject: Re: Support select() to read data from serial port In-Reply-To: <004a01c873ad$499e59b0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <95455e980802200235m574ab1b7j4875211aa96651cb AT mail DOT gmail DOT com> <004a01c873ad$499e59b0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 2/20/08, Dave Korn wrote: > On 20 February 2008 10:35, hce wrote: > > > Hi, > > > > I guess that > > select() is not supported by the window, nor by minGW. > > Yep. > > > Will cygwin support select() in a fiile > > system to read data from a serial port? > > Yep. > > > In cygwin, can I keep native > > read() and write() system call to a serial port file descriptor, > > Yep. > > :) > > You should be able to just recompile your program on cygwin and it'll work. > You even get to use linux-alike /dev/ttyS0 names to access the serial port > (ttyS0 = COM1, ttyS1 = COM2, etc..) Great. I don't have a window system here right now, I'll have to install cygwin tomorrow (otherwise I should not ask the following questions :-)). Should I just need to install setup.exe to enable me to recompile the program on cygwin, or should I need to install other resource as well for the compilation? I was using the minGW for compilation on window at the moment. Thank you. Jim -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/