Threading library used by rtems

Gedare Bloom gedare at rtems.org
Sat Aug 6 13:13:58 UTC 2016


Have a look at https://github.com/RTEMS/examples-v2 for ways to build
applications. Read the README.waf to understand more about the
wscripts, or ask on users at rtems.org about wscript or "RTEMS Makefile"
approaches to compile simple application.

On Sat, Aug 6, 2016 at 2:49 AM, Sambeet Panigrahi
<sambeet161616 at gmail.com> wrote:
> I am also attaching the RTT manual component script I am trying to build for
> creating an rtems executable:
>
> The command on my host machine to compile is:
>
>
> sambeet at Holmes ~/NewRockPort/x86/Build/rock/rtt $ sudo
> /home/sambeet/NewRockPort/x86/Install/rtems/4.11.0-rc3/bin/i386-rtems4.11-g++
> HelloWorld.cpp /usr/local/lib/liborocos-rtt-rtems.a
> /usr/local/lib/orocos/rtems/types/librtt-typekit-rtems.a -I ./ -I
> /usr/local/boost_1_54_0/include/ -L /usr/local/boost_1_54_0/lib/ -L
> /lib/i386-linux-gnu/ -lpthread -static -DOROCOS_TARGET=rtems 2>&1 | tee
> testout.txt
>
>
>
> On Sat, Aug 6, 2016 at 10:41 AM, Sambeet Panigrahi <sambeet161616 at gmail.com>
> wrote:
>>
>> Sir,
>> I found that Orocos RTT works only for boost 1.54.Most other versions do
>> not use a serialization::array_wrapper template rather than array.So I could
>> finally manually compile an Orocos RTT component for gnu Linux.
>>
>> Adapting the component for RTEMS had a problem.I was using libpthread.so
>> for gnu Linux ,which could not be used for rtems as it is not a static
>> library.I could not find in thread library with .a extension i.e a static
>> thread library in my local 4.11.0-rc3 build. So which thread library shall I
>> use for building my RTT component for RTEMS?
>> Regards
>> Sambeet
>
>



More information about the users mailing list