Re: missing pthread.h in building 64-bit aaplications

2010-09-21 Thread ke...@ca
command line used to compile? Add a "-v" as well so > we can see where gcc searched for the headers. > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > U

Re: missing pthread.h in building 64-bit aaplications

2010-09-21 Thread JonY
On 9/21/2010 08:01, ke...@ca wrote: 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, o

Re: missing pthread.h in building 64-bit aaplications

2010-09-20 Thread Christopher Faylor
On Mon, Sep 20, 2010 at 10:38:48PM -0400, Charles Wilson wrote: >On 9/20/2010 10:18 PM, Christopher Faylor wrote: >> On Mon, Sep 20, 2010 at 05:01:52PM -0700, ke...@ca wrote: >>> I used "x86_64-w64-mingw32-gcc " to build the application, but failed. >>> The output tells missing pthread.h. pthre

Re: missing pthread.h in building 64-bit aaplications

2010-09-20 Thread Yaakov (Cygwin/X)
On Mon, 2010-09-20 at 17:01 -0700, ke...@ca wrote: > 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\x

Re: missing pthread.h in building 64-bit aaplications

2010-09-20 Thread Charles Wilson
On 9/20/2010 10:18 PM, Christopher Faylor wrote: > On Mon, Sep 20, 2010 at 05:01:52PM -0700, ke...@ca wrote: >> 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 f

Re: missing pthread.h in building 64-bit aaplications

2010-09-20 Thread Christopher Faylor
On Mon, Sep 20, 2010 at 05:01:52PM -0700, ke...@ca wrote: > >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

missing pthread.h in building 64-bit aaplications

2010-09-20 Thread ke...@ca
clude, 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 ma