C++11 threading library

Joel Sherrill joel.sherrill at oarcorp.com
Thu Jul 30 14:25:49 UTC 2015

On 7/30/2015 8:47 AM, Gedare Bloom wrote:
> Beojan,
> 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:
> https://devel.rtems.org/wiki/Developer/Tools/RSB

Gedare is right on building from source. That is the preferred way

I am a bit concerned that you mention gcc 4.8.x which is relatively
new. We haven't provided binaries since long before that is available.
Where did you get them?


> Gedare
> 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)?
>> Sincerely,
>> Beojan Stanislaus
>> _______________________________________________
>> users mailing list
>> users at rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users

Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

More information about the users mailing list