delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, |
<http://sourceware.cygnus.com/ml/#faqs> | |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-Id: | <37BB1438.46B2A860@citicorp.com> |
Date: | Wed, 18 Aug 1999 15:14:49 -0500 |
From: | The Dragon <maverick DOT merritt AT citicorp DOT com> |
Organization: | Citibank SD |
X-Mailer: | Mozilla 4.5 [en] (X11; U; AIX 4.1) |
X-Accept-Language: | en |
Mime-Version: | 1.0 |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | alarm.s converted to a .c file. |
Hello, I had sent a similair message to cygwin-help AT sourceware DOT cygnus DOT com, which I think was a mistake and I am not sure if they would forward it to you. So I'll ask again... There is a UNIX function I would like to implement in my cross-platform library (sprinkled with #ifdef's here and there) which includes WIN32... That function is: void alarm(unsigned int). I downloaded your source code and found something that might work found in the /src/newlib/libc/sys/sysvi386 directory and called alarm.s. This is assembly code and I cannot tell if it is using a common syntax or not. I currently am using VC++ 4.2 on NT. My question is this: Is there any way you could convert this to a standard .c file using Microsoft's inline assembler directive called __asm. This way I could compile it using their C compiler. If you cannot or will not convert it, could you point me to some resources where I could figure this out for myself? Also, do you see any implications using this assembly code (once converted) on NT without using your tools and going through your library? Thanks for any help you may have on this matter, Maverick Merritt maverick DOT merritt AT citicorp DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |