delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/06/16:40:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: ecserv7.uwaterloo.ca: www set sender to y2bismil AT engmail DOT uwaterloo DOT ca using -f
Message-ID: <1068154769.3faabf91a071f@www.nexusmail.uwaterloo.ca>
Date: Thu, 6 Nov 2003 16:39:29 -0500
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
Subject: Re: advice needed: how to use mingw part of cygwin
References: <3FAABE0A DOT 6090406 AT ekers DOT idps DOT co DOT uk>
In-Reply-To: <3FAABE0A.6090406@ekers.idps.co.uk>
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.1 / FreeBSD-4.6.2
X-Originating-IP: 207.245.22.25

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 AT ekers DOT idps DOT co DOT 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/

- Raw text -


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