www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/02/17:21:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <3F034C90.9EF9D77C@staktek.com>
Date: Wed, 02 Jul 2003 16:20:16 -0500
From: Terry Dabbs <tdabbs AT staktek DOT com>
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: gcc using termios.h and -mno-cygwin


I am new and may really get flamed on this....

I need to do serial port IO on Windows98 and NT using com1 and com2. I
have seen some nice examples which compile and execute without using
-mno-cygwin in the archives. When I use the "-mno-cygwin" option I get
the error "termios.h not found". this is true using #include
<sys/termios.h> and #include <termios.h>.
(1) Should this work with termios.h and -mno-cygwin together?
(2) If not, does anyone have some sample code showing a good method to
read/write com1 without termios.h functions?

Thanks,

Terry Dabbs





--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019