X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=ZrQH7/hTrwPv61qaTVuqV77q8XUoF fd4TuXPleRccFRlAsgNxaI8vUew1A0Di6pxt0Lkq+foXHAqU7heoGferpnnD0asp BVf3WW7g5KVRh3dbi10G3XNi/S84ZVO//VVF2hjjOpcF9xEp9fIAadYDZCz48xNC i5wYO26R29Evnk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=ywmMIQAh18V0YMVvgo9rd3DuoZ8=; b=TiB wOR2XVvpCVFzevoulcXi6+xTUZX0SJyrzvu6Ue9wr9lTL5GqUi6C4iAV0UMD/lnT DyJXWwtDU7fKLzOUth29jnnZTLQS/3XxKs1Q+eCSbuFrMnoFBWZJdPyiaPwXvFUz PWW2Ldg7SMBYbG2f/W1Em7SZtGTO5LpscHqBps9g= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_00,BODY_URI_ONLY,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f171.google.com MIME-Version: 1.0 X-Received: by 10.180.99.39 with SMTP id en7mr13030952wib.10.1393227564043; Sun, 23 Feb 2014 23:39:24 -0800 (PST) Date: Mon, 24 Feb 2014 15:39:24 +0800 Message-ID: Subject: Want to build Win32 API code and Posix API code in Cygwin From: Qw Liu To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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