RE: porting Unix programs to windows

2008-02-04 Thread Chen Yue
programs to windows Hello, I tried to port Unix C programs to Windows VC using cygwin. I hope the programs can be compiled and linked correctly under VC. However, it does not require that the programs run correctly. As the first step, I tried the compilation. I added sys/cygwin.h to the beginning

Re: porting Unix programs to windows

2008-02-04 Thread Doug Bohl
You need to clarify what you mean by "port Unix C programs to Windows VC using cygwin" means. As Brian has pointed out, Cygwin's headers are written for Cygwin's libraries, just as MSVC's headers are written for MSVC's libraries. You'll find that it's quite easy to port UNIX programs using Cygwin

Re: porting Unix programs to windows

2008-02-03 Thread Robert Pendell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wei Le wrote: | Hello, | | I tried to port Unix C programs to Windows VC using | cygwin. I hope the programs can be compiled and linked | correctly under VC. However, it does not require that | the programs run correctly. | | As the first step, I tri

Re: porting Unix programs to windows

2008-02-03 Thread Brian Dessent
Wei Le wrote: > I tried to port Unix C programs to Windows VC using > cygwin. I hope the programs can be compiled and linked > correctly under VC. However, it does not require that > the programs run correctly. > > As the first step, I tried the compilation. I added > sys/cygwin.h to the beginni

porting Unix programs to windows

2008-02-03 Thread Wei Le
Hello, I tried to port Unix C programs to Windows VC using cygwin. I hope the programs can be compiled and linked correctly under VC. However, it does not require that the programs run correctly. As the first step, I tried the compilation. I added sys/cygwin.h to the beginning of the unix C pr