porting Unix programs to windows
Sun Feb 3 21:21:00 GMT 2008
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 beginning of the unix C program.
> VC compiler reports errors:
You cannot use Cygwin that way. You can't just drop a header in a
directory and expect it to work. To use Cygwin you must use gcc and the
Cygwin runtime all as one unit, you cannot use any other runtime such as
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin