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 Date: Tue, 24 Aug 2004 15:00:17 -0500 From: Brian Ford Reply-To: cygwin AT cygwin DOT com To: Terry Dabbs cc: cygwin Subject: Re: FW: comport problem In-Reply-To: <14CEE0B69DBDFC41A192613D8B4098CA105597@XCH-CORP.staktek.com> Message-ID: References: <14CEE0B69DBDFC41A192613D8B4098CA105597 AT XCH-CORP DOT staktek DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/