View Single Post

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

On Jan 15, 3:41 pm, es...@lain.home (Marc Espie) wrote:
> In article <20b7bbe9-8727-45a7-81e4-857caabc7...@s13g2000prd.googlegroups.com>,
>
>
>
> Viatly <postoronnim...@mail.ru> wrote:
> >Hi all. I am writing multithreaded C++ app which on my POV requires
> >gcc configured with Threading model: posix.
> >The one I have on my OpenBSD 4.2 is single-threaded:
> >#g++ -v
> >Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.2/3.3.5/
> >specs
> >Configured with:
> >Thread model: single
> >gcc version 3.3.5 (propolice)

>
> >OpenBSD ports does not provide multithreaded gcc, so I tried to build
> >it myself from gcc sources. I downloaded src for gcc 3.3.5 and for gcc
> >4.2.2 frok gcc site but failed to compile either of them! (I compiled
> >with --enable-threads=posix --enable-languages=c,c++). Trying to make
> >gcc 3.3.5 resulted in yacc error, for gcc 4.2.2 it was $< macro error.
> >I am wondering is it a way to get multithreaded gcc on OpenBSD 4.2?
> >Thanx.

>
> Things will break horribly in the libc.


Mmm, Marc, could you please be a bit more detailed?
Reply With Quote