delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/24/15:58:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Tue, 24 Aug 2004 15:00:17 -0500
From: Brian Ford <ford AT vss DOT fsi DOT com>
Reply-To: cygwin AT cygwin DOT com
To: Terry Dabbs <tdabbs AT staktek DOT com>
cc: cygwin <cygwin AT cygwin DOT com>
Subject: Re: FW: comport problem
In-Reply-To: <14CEE0B69DBDFC41A192613D8B4098CA105597@XCH-CORP.staktek.com>
Message-ID: <Pine.CYG.4.58.0408241451330.328@fordpc.vss.fsi.com>
References: <14CEE0B69DBDFC41A192613D8B4098CA105597 AT XCH-CORP DOT staktek DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

On Mon, 23 Aug 2004, Terry Dabbs wrote:

> I've used a version of cygwin from June of 2003. I've loaded a new
> version, and apparently gcc is now gcc-2.

No, gcc-2 was a package of the old gcc-2.95.x compiler.  It was pulled
from the distribution because of bugs.  gcc is currently version 3.3.3.

> The problem is that I can't open the comport with the program that
> previous worked well under the old cygwin/gcc. I noted references in my
> search for the solution about gcc-2 or cygwin not accepting the name
> com1, com2 etc.  I' love some direction here.

This is not a gcc problem at all.  Cygwin will let you open COM1, COM2,
etc., but it will treat them as regular files.

If you are trying to use POSIX functionality (termios, etc.) with that
file descriptor, please use the corresponding POSIX device name listed
here instead:

http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN825

to open the port.  Doing so should eliminate your problem.

HTH

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

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