Re: porting c program from linux to windows
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Wed, 01 Mar 2006 05:59:59 -0500
Ico wrote:
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.
That last sentence also applies to DJGPP, at www.delorie.com. The
result will execute much faster than under Cygwin, and port to
other dos like systems.
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>
.
- Follow-Ups:
- Re: porting c program from linux to windows
- From: Rob Thorpe
- Re: porting c program from linux to windows
- References:
- porting c program from linux to windows
- From: reach . daniels
- Re: porting c program from linux to windows
- From: Ico
- porting c program from linux to windows
- Prev by Date: Re: Compiles without Executing
- Next by Date: Re: Programmers needed
- 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
|