Using rtl-host in covor - some questions

Gedare Bloom gedare at rtems.org
Wed Aug 13 20:58:37 UTC 2014


On Wed, Aug 13, 2014 at 4:48 PM, Joel Sherrill
<joel.sherrill at oarcorp.com> wrote:
>
> On 8/13/2014 3:28 PM, Chris Johns wrote:
>> Hi,
>>
>> Sorry about not responding before now. It had dropped of my list and I
>> had forgotten about it.
>>
>> On 12/08/2014 9:58 pm, Krzysztof Mięsowicz wrote:
>>> Hi,
>>>
>>> I'm currently working on adding symbol generation to covoar. I'm going
>>> to use rtl::process::execute function to run nm from covoar (as
>>> suggested by Chris). I do not know exactly how should I use this in
>>> covoar. Should I build rtl-host as a library and link it to covoar? Or
>>> maybe there is another, better option?
>> This is a really good question. Having covoar and rtems-host work
>> together is a really thing because there is lots of good code to reuse.
>>
>> Currently the rtems-host repo is my private area and maybe this need to
>> change. It is difficult to have both work together when in separate
>> repos. Joel, should this code be moved to the rtems-tools.git repo ?
> covoar has moved.
> rtems-coverage I think is the other directory that would have to move.
>
We need to decide if we want 1 repo per "tool" or a consolidated tools
repo. My opinion is to add the rtl-host and rtems-coverage as
git-submodules within another repo the project manages as project
tools. My $.02

Otherwise, you should add rtl-host as a git-submodule within
rtems-coverage so you can build and link against rtl-host. The
consumer (coverage) should be dependent on the producer.
-Gedare

> It is OK by me.
>> As it stands rtems-host builds 3 static libraries and you can use those...
>>
>> $ ls build-linux2/*.a
>> build-linux2/libelf.a
>> build-linux2/libiberty.a
>> build-linux2/librld.a
> As I recall, we just need to look up the address for a specific symbol.
> I assume
> libelf.a has that.
>
> I have used covoar with C++ but don't recall how the name mangling was
> addressed.
>> Chris
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>
> --
> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list