This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Want to build Win32 API code and Posix API code in Cygwin
- From: Qw Liu <liuqw093 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 24 Feb 2014 15:39:24 +0800
- Subject: Want to build Win32 API code and Posix API code in Cygwin
- Authentication-results: sourceware.org; auth=none
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 "header missing" for Win32 API .
Is there any other method to resolve such problem? I considerred
to build part B as dll first and build with part A on Cygwin. Is that
okay?
Thanks a lot for your guidance!
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple