<div class="gmail_quote">On Mon, Mar 12, 2012 at 11:18 AM, 阿四 <span dir="ltr"><<a href="mailto:ashi08104@gmail.com" target="_blank">ashi08104@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


hi, since you are do cross-compiling, I think the call to gcc is not right.<br>
<div>> Building file: ../init.c<br>
> Invoking: RTEMS C Compiler<br>
> /opt/rtems-4.11/bin/gcc -Os -g -Wall -c -fmessage-length=0 -pipe -MMD -MP<br>
</div>accordding to your target, sparc-rtems4.11-gcc should be called.<br></blockquote><div><br></div><div>I tried to replace the path in C/C++ build > Settings for sparc-rtems4.11-gcc, instead of just gcc.</div><div>


It just changes back to the original thing.</div><div><br></div><div>I don't know how to make it call sparc-rtems4.11-gcc. Can you help?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
best regards!<br>
zw_yao<br>
</blockquote></div><br>