delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/21/05:33:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Tue, 21 Jul 2009 17:32:52 +0800
Message-ID: <3a665c760907210232u20d31298hf56b44f32783c22f@mail.gmail.com>
Subject: Some questions about Cygwin
From: loody <miloody AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Dear all:
I have some questions about cygwin:
1. how can I access my xp serial port, even on of them is USBtoSerial
    I have google this question. I can see there is /dev under my
cygwin. But I have no /dev/ttyS[0-9] under my /dev.
Does that mean what I have to do is create the device node ttyS[0-9].
I mknod it but it tells me the file exist already like below

$ pwd
/dev
cd AT PC9 /dev
$ ls -lht
total 4.0K
lrwxrwxrwx 1 ???????? Users 13 Mar 25 15:40 fd -> /proc/self/fd
lrwxrwxrwx 1 ???????? Users 15 Mar 25 15:40 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 ???????? Users 15 Mar 25 15:40 stdout -> /proc/self/fd/1
lrwxrwxrwx 1 ???????? Users 15 Mar 25 15:40 stdin -> /proc/self/fd/0
cd AT PC9 /dev
$ mknod ttyS0 c 4 64
mknod: `ttyS0': File exists
cd AT PC9 /dev
$

2. is there mips toolchain running on cygwin I can download instead of
downloading buildroot to build it?
appreciate your help,
miloody

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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