This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: advice needed: how to use mingw part of cygwin


Hi,

I just had to do the same thing.  The way I did it is as follows:

1.  in your compile line, use the flag -mno-cygwin
2.  include the mingw headers (/usr/include/mingw)

Then it should be okay.

Yamin

Quoting ahnkle <cygwin@ekers.idps.co.uk>:

> 
> hi
> 
> i have been using cygwin for a far while, and have recently started 
> using gcc. i need to use _beginthread() which i can only find in the 
> mingw header process.h.
> 
> i have not used mingw at all. there doesn't seem to be anything in the 
> cygwin site docs. is it a separate compiler? do i just include the mingw 
> headers?
> 
> regards,
> ahnkle
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 




----------------------------------------
This mail sent through www.mywaterloo.ca

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]