mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] i686-pc-mingw32-g++: unrecognized option '-p


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] i686-pc-mingw32-g++: unrecognized option '-pthread'
Date: Sat, 15 May 2010 14:00:27 +1000

On 15 May 2010 07:18, Natalie Tasman <address@hidden> wrote:
> Can someone briefly explain why I shouldn't use -pthread in my
> cross-compilation?  I'm getting the message "i686-pc-mingw32-g++:
> unrecognized option '-pthread'"

Simplest reason is that pthreads is a library, not a compiler option.
You want -lpthread instead. There are reasons you might not want to
use the library though, see the recent thread about it.

http://lists.nongnu.org/archive/html/mingw-cross-env-list/2010-05/msg00026.html

Tony



reply via email to

[Prev in Thread] Current Thread [Next in Thread]