<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>I used examples of this compilation:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>http://alanstechnotes.blogspot.com/2013/03/compiling-and-installing-rtems-for.html</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span></span></div><div>but I didn't get any result. please check the link above and tell me if something is wrong.</div><div><br></div><div><br></div> <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div
style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Joel Sherrill <joel.sherrill@oarcorp.com><br> <b><span style="font-weight: bold;">To:</span></b> Ehsan Salmanpour <salmanpour.ehsan@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> Sebastian Huber <sebastian.huber@embedded-brains.de>; "rtems-users@rtems.org" <rtems-users@rtems.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, August 11, 2013 12:05 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> wrong input format was Re: Compiling Rtems by another compiler<br> </font> </div> <div class="y_msg_container"><br>
<div id="yiv2000472052">
<div>
<div class="yiv2000472052moz-cite-prefix">On 8/10/2013 1:59 PM, Ehsan Salmanpour
wrote:<br>
</div>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:12pt;">
<div><span>I don't need to compile with this compiler. As I said
before I want to compile RTEMS for arm7 that can be
simulated in SimpleScalar. when I use the original compiler
of RTEMS (as mentioned in Docs) the SimpleScaler does NOT
recognize the binary of the output.</span></div>
<div style="color:rgb(0, 0, 0);font-size:16px;
font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><span> <br>
</span></div>
<div><br>
</div>
</div>
</blockquote>
This is what objcopy is for. What format does SimpleScalar<br>
want the executable in?<br>
<br>
If you can't answer that directly, how is one of their examples<br>
or another program compiled and linked and prepared for <br>
execution?<br>
<br>
This is a common issue in embedded systems. The loader<br>
on the target generally wants something special that is<br>
not the direct output of ld.<br>
<br>
--joel<br>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:12pt;">
<div style="font-family:arial, helvetica, sans-serif;font-size:12pt;">
<div style="font-family:times new roman, new york, times, serif;font-size:12pt;">
<div dir="ltr">
<hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Sebastian
Huber <a rel="nofollow" class="yiv2000472052moz-txt-link-rfc2396E" ymailto="mailto:sebastian.huber@embedded-brains.de" target="_blank" href="mailto:sebastian.huber@embedded-brains.de"><sebastian.huber@embedded-brains.de></a><br>
<b><span style="font-weight:bold;">To:</span></b>
<a rel="nofollow" class="yiv2000472052moz-txt-link-abbreviated" ymailto="mailto:rtems-users@rtems.org" target="_blank" href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a> <br>
<b><span style="font-weight:bold;">Sent:</span></b>
Friday, August 9, 2013 10:27 AM<br>
<b><span style="font-weight:bold;">Subject:</span></b>
Re: Compiling Rtems by another compiler<br>
</font> </div>
<div class="yiv2000472052y_msg_container"><br>
On 2013-08-08 21:59, Ehsan Salmanpour wrote:<br>
> Hi Everyone!<br>
> I want to know is it possible to compile RTEMS with
another compile like:<br>
> *SimpleScalar/ARM Cross Compiler*<br>
> (<a rel="nofollow" target="_blank" href="https://sites.google.com/site/pkuwangh/solutions/arm_cross">https://sites.google.com/site/pkuwangh/solutions/arm_cross</a>)<br>
> How?<br>
> My goal is compile Rtems for arm7 that can be
simulated in SimpleScalar.<br>
<br>
Why do you need this compiler? The RTEMS GCC emits
standard EABI version 5 code.<br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a rel="nofollow" ymailto="mailto:sebastian.huber@embedded-brains.de" target="_blank" href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im
Sinne des EHUG.<br>
_______________________________________________<br>
rtems-users mailing list<br>
<a rel="nofollow" ymailto="mailto:rtems-users@rtems.org" target="_blank" href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
http://www.rtems.org/mailman/listinfo/rtems-users<br>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="yiv2000472052moz-signature">--
Joel Sherrill, Ph.D. Director of Research & Development
<a rel="nofollow" class="yiv2000472052moz-txt-link-abbreviated" ymailto="mailto:joel.sherrill@OARcorp.com" target="_blank" href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a> On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985 </pre>
</div>
</div><br><br></div> </div> </div> </div></body></html>