Brian, You are correct. I used gcc-2 because that is what downloaded by default. Previously, I just used "com2", and it was acceptable, and worked fine. I read the code in the some of the other emails in the forum and noted that it was in the form "/dev/com2". I changed to format, and it now works great.
Thanks, Terry Dabbs 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/