Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: 21 Sep 2001 05:47:25 -0000 Message-ID: <20010921054725.8957.qmail@mailweb25.rediffmail.com> MIME-Version: 1.0 To: cygwin AT cygwin DOT com, cygwin-developers AT cygein DOT com Subject: asm/io.h where can I find this ?? From: "abhishek gupta" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: quoted-printable Hello and Thanks you for openning this message. I'm working on a program which write to a serial port and reads from it. works under linux red hat, using the command line : -> gcc myprog.c -o myprog -O2 and ->/myrep/myprog but when I try to compile it under cygwin )))-: it doesn't works and show= s:- asm/io.h: No such file or directory this is the lib I need ORIGINAL LINE : #include where can I find the the equivalent of red hat "asm/io.h" and where sould I copy it under cygwin ? The following is myprog.c (fastly commented) source it will be usefull to= understand what I say. Thank you Regards = Abhishek /*----Start of myprog source -------*/ #include #include #include #define BASEPORT 0x378 = int main() { int i=3D0; char c=3D'A'; ioperm (0x378,1,1); for (i;i<10;i++) { outb(c,0x378); printf("%c\n",inb(0x378)); printf("%c\n",c); c++; } ioperm (i,1,0); } = /*----End of myprog source -------*/ = -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/