Re: porting c program from linux to windows
- From: Ico <usenet@xxxxxxx>
- Date: 01 Mar 2006 07:27:03 GMT
reach.daniels@xxxxxxxxx wrote:
I have a c program devolped for linux which includes header files which
is OS dependant. I need to run the same program on windows. i need
windows equivalent header files for the following:
<termios.h>
<sys/types.h>
<sys/stat.h>
<fcntl.h>
<unistd.h>
<errno.h>
<sys/ioctl.h>
What should i do and how do i proceed...?
Take a look at cygwin (http://www.cygwin.com/). From the site :
Cygwin is a Linux-like environment for Windows. It consists of two parts:
- A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing
substantial Linux API functionality.
- A collection of tools, which provide Linux look and feel.
If you are lucky, your code might just compile and run without any
changes.
--
:wq
^X^Cy^K^X^C^C^C^C
.
- Follow-Ups:
- Re: porting c program from linux to windows
- From: CBFalconer
- Re: porting c program from linux to windows
- References:
- porting c program from linux to windows
- From: reach . daniels
- porting c program from linux to windows
- Prev by Date: Re: porting c program from linux to windows
- Next by Date: Re: Anyone interested in being paid to find a solution to a commercial problem?
- Previous by thread: Re: porting c program from linux to windows
- Next by thread: Re: porting c program from linux to windows
- Index(es):
Relevant Pages
|