This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Unable to get std::thread working
- From: spam dot spam dot spam dot spam at free dot fr
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 26 May 2009 12:46:11 +0200
- Subject: Re: Unable to get std::thread working
Selon Troy Heron <troy.heron@hixxy.org>:
>
> I compiled the gcc 4.4.0 release from source and upon trying execute a simple
> hello world program that uses std::thread I get the following error:
>
> ./t: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required
> by ./t)
>
> All non c++0x aspects of gcc/stdc++ seem to work fine.
>
> I'm sure I've likely done something silly when compiling/installing gcc...
> any ideas?
>
> Thanks
> Troy Heron
>
> --
> View this message in context:
>
http://www.nabble.com/Unable-to-get-std%3A%3Athread-working-tp23720627p23720627.html
> Sent from the gcc - Help mailing list archive at Nabble.com.
>
>
I have just installed gcc-4.4.0 and I got the libstdc++ library.
Try to do this :
./configure --disable-bootstrap --enable-languages=c++
make
make install