delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/05/21:07:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Delivered-To: fixup-cygwin AT cygwin DOT com@fixme
From: "Paul Garceau" <pgarceau AT qwest DOT net>
Organization: New Dawn Productions
To: cygwin AT cygwin DOT com
Date: Mon, 5 Mar 2001 18:05:52 -0800
Subject: Re: multi-threaded executables under NT
Reply-to: Paul Garceau <pgarceau AT qwest DOT net>
Message-ID: <3AA3D580.4742.FF1551@localhost>
In-reply-to: <5B0CDBAA.2C53AD4C.00044C35@netscape.net>
X-mailer: Pegasus Mail for Win32 (v3.12c)

Hi folks,

On 5 Mar 2001, at 20:20, the Illustrious Abran5 AT netscape DOT net wrote:

> Hello;
> 
> Can you point me to documentation on how to create multi-threaded 
> executables via gcc on an NT machine?
> 
> In MS C++ 6.0 the -MT switch signals the linker to use LIBCMT.LIB, but
> this isn't recognized by gcc-2.95.2-6.

	Hmmm...not very much information, but enough...

	To use NT4 multi-threading (Win32 -- just tested this), you need to 
add -mthreads switch.  Works for both cygwin and -mno-cygwin builds.

	Peace,

		Paul G.


Nothing real can be threatened.
    Nothing unreal exists.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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