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.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 4, 2012 at 3:48 AM, Luca Cinquepalmi <span dir="ltr"><<a href="mailto:cinquepalmi@planetek.it" target="_blank">cinquepalmi@planetek.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi all, <br>
I'm trying to compile rtems C++ source code with rtems provided
class.<br>
I compile the following class without any problems:<br>
<br>
rtemsTask.cc<br>
rtemsSeamphore.cc<br>
rtemsMessageQueue.cc<br>
rtemsEvent.cc<br>
rtemsStatusCode.cc<br>
<br>
and the program perfectly works, but when I compile<br>
<br>
<b>rtemsInterrupt.cc</b> or <b>rtemsTimer.cc</b><br>
<br>
the code is well compiled, but it doubles its dimension and <br>
doesn't work when loaded on my target board (LEON2).<br>
I'm using spar-rtems4.11-gcc as compiler.<br>
Did anyone have the same problem? Thanks!<span class="HOEnZb"><font color="#888888"><br>
<br>
Luca<br>
</font></span></div>
<br>_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
<br></blockquote></div><br></div>