Re: Want to build Win32 API code and Posix API code in Cygwin

2014-02-24 Thread Andrey Repin
Greetings, Qw Liu! I have legacy code (part A) written in Posix API that I want to port to Windows, and there is also some other necessary code (part B) written in Win32 API, but seems that I cannot use GCC on Cygwin to build them (A and B) together to get the executable program, since I

Re: Want to build Win32 API code and Posix API code in Cygwin

2014-02-24 Thread Qw Liu
Hi Andrey, Thanks for your patient answer. Actually the code is historic legacy, and I want to have a quick try on Windows and reduce the efforts as much as possible. Code part B mainly contains some device operations, like serial port, ethernet config(not only socket), USB detection, etc,

Want to build Win32 API code and Posix API code in Cygwin

2014-02-23 Thread Qw Liu
Hi All, I have legacy code (part A) written in Posix API that I want to port to Windows, and there is also some other necessary code (part B) written in Win32 API, but seems that I cannot use GCC on Cygwin to build them (A and B) together to get the executable program, since I met issue like