[haiku-development] Re: -pthreads and GCC 4.8?

  • From: "Andrew Hudson" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "hudsonco1@xxxxxxx" for DMARC)
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 12 Jun 2014 19:25:33 -0400 (EDT)

Can you send a link or two? 



-----Original Message-----
From: SMC.Collins <smc.collins@xxxxxxxxxxx>
To: haiku-development <haiku-development@xxxxxxxxxxxxx>
Sent: Thu, Jun 12, 2014 7:21 pm
Subject: [haiku-development] Re: -pthreads and GCC 4.8?


I see a ton of Libboost packages in Haiku depot. 

Did you know about these ?


Sean 

----- Original Message -----
From: Andrew Hudson <dmarc-noreply@xxxxxxxxxxxxx>
To: haiku-development@xxxxxxxxxxxxx
Sent: Thu, 12 Jun 2014 14:55:25 -0000 (UTC)
Subject: [haiku-development] -pthreads and GCC 4.8?

I'm trying to build libboost 1.55 with a recent nightly. I'm getting a compile 
error:

g++: error: unrecognized command line option '-pthread'

libarch is x86

Options summary for GCC 4.8.3 on i386 shows mthread as an option, not pthread

Can I compile with mthread instead? Build is done with jam, what wouold be a 
good work-around?

Thanks,
Andrew


Other related posts: