problem with rtems++ Timer & Interrupt class
Gedare Bloom
gedare at rtems.org
Tue Dec 4 14:41:07 UTC 2012
Here is a better, more general answer.
Find the binary image that you load to the target board, and use
sparc-rtems4.11-nm on it to get the symbols, for example:
$> sparc-rtems4.11-nm --size-sort -r hello.exe > hello.snm
then look at the output from nm to see what is taking up a lot of your
binary image space. The symbol names are given, and their type also, for
example T is for text=code. You can read more about nm in the gnu binutils
documentation.
On Tue, Dec 4, 2012 at 9:29 AM, Luca Cinquepalmi <cinquepalmi at planetek.it>wrote:
> I don't understand your answer very well... Can you give me more details?
> Thanks a lot!
> Luca
>
>
> On 12/04/2012 03:26 PM, Gedare Bloom wrote:
>
> Check if printf is getting included in the new image and not in the old
> one. If for some reason those files pull in printf that can be a lot of
> extra code.
>
>
> On Tue, Dec 4, 2012 at 3:48 AM, Luca Cinquepalmi <cinquepalmi at planetek.it>wrote:
>
>> Hi all,
>> I'm trying to compile rtems C++ source code with rtems provided class.
>> I compile the following class without any problems:
>>
>> rtemsTask.cc
>> rtemsSeamphore.cc
>> rtemsMessageQueue.cc
>> rtemsEvent.cc
>> rtemsStatusCode.cc
>>
>> and the program perfectly works, but when I compile
>>
>> *rtemsInterrupt.cc* or *rtemsTimer.cc*
>>
>> the code is well compiled, but it doubles its dimension and
>> doesn't work when loaded on my target board (LEON2).
>> I'm using spar-rtems4.11-gcc as compiler.
>> Did anyone have the same problem? Thanks!
>>
>> Luca
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20121204/661ba114/attachment-0001.html>
More information about the users
mailing list