delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/20/20:02:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <29764972.post@talk.nabble.com>
Date: Mon, 20 Sep 2010 17:01:52 -0700 (PDT)
From: "kenny AT ca" <heqing DOT gugle AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: missing pthread.h in building 64-bit aaplications
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello All,

Goal: Building 64-bit application on Cygwin
OS: 64-bit Windows 7

I used "x86_64-w64-mingw32-gcc ...." to build the application, but failed.
The output tells missing pthread.h. pthread.h is included in one of my
source files.

I located the file, one in C:\cygwin\usr\include, the other
C:\cygwin\usr\x86_64-w64-mingw32\sys-root\mingw\include.

I tried using -I to tell gcc to include pthread.h, but failed. why? 
-- 
View this message in context: http://old.nabble.com/missing-pthread.h-in-building-64-bit-aaplications-tp29764972p29764972.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019