C++11 threading library
gedare at rtems.org
Thu Jul 30 13:47:01 UTC 2015
I don't know if this is available in newer gcc, but you should
definitely not be using the version you picked up in the RHEL6 repo.
For RTEMS 4.11, there are not any suitable pre-compiled tools
available right now, and the preferred approach for obtaining a
compiler is to use the new RSB tool:
On Thu, Jul 30, 2015 at 5:08 AM, Beojan Stanislaus
<beojan.stanislaus at queens.ox.ac.uk> wrote:
> I am trying to compile some C++11 code that uses the threading features in the standard library (std::thread etc) using arm-rtems4.11-g++ version 4.8.2 (from the RHEL 6 repository). I get the error 'thread' is not a member of 'std'. Delving into the include files shows that this is because _GLIBCXX_HAS_GTHREADS is not defined (from /opt/rtems-4.11/lib/gcc/arm-rtems4.11/4.8.2/include/c++/thread).
> Can anyone tell me if this has been resolved in a newer version of gcc (or will be resolved soon)?
> Beojan Stanislaus
> users mailing list
> users at rtems.org
More information about the users