View Single Post

   
  #4 (permalink)  
Old 02-16-2008, 08:11 AM
Hannah Schroeter
 
Posts: n/a
Default Re: No way to get multithreaded gcc on OpenBSD?

Hi!

Viatly <postoronnimv77@mail.ru> wrote:
>Hi all. I am writing multithreaded C++ app which on my POV requires
>gcc configured with Threading model: posix.


Why do you need that? What fails with your application when you compile
and link with -pthread, as in
c++ -pthread -c foo.cc
c++ -pthread -c bar.cc
c++ -pthread -o application foo.o bar.o

>[...]


Kind regards,

Hannah.
Reply With Quote