This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: multi-threaded executables under NT
- To: cygwin at cygwin dot com
- Subject: Re: multi-threaded executables under NT
- From: "Paul Garceau" <pgarceau at qwest dot net>
- Date: Mon, 5 Mar 2001 18:05:52 -0800
- Organization: New Dawn Productions
- Reply-to: Paul Garceau <pgarceau at qwest dot net>
Hi folks,
On 5 Mar 2001, at 20:20, the Illustrious Abran5@netscape.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