This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]