This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: advice needed: how to use mingw part of cygwin
- From: y2bismil at engmail dot uwaterloo dot ca
- To: ahnkle <cygwin at ekers dot idps dot co dot uk>
- Cc: cygwin at cygwin dot com
- Date: Thu, 6 Nov 2003 16:39:29 -0500
- Subject: Re: advice needed: how to use mingw part of cygwin
- References: <3FAABE0A.6090406@ekers.idps.co.uk>
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/