<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 8/10/2013 1:59 PM, Ehsan Salmanpour
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1376161174.80693.YahooMailNeo@web161806.mail.bf1.yahoo.com"
      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
      cite="mid:1376161174.80693.YahooMailNeo@web161806.mail.bf1.yahoo.com"
      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 size="2" face="Arial"> <b><span
                    style="font-weight:bold;">From:</span></b> Sebastian
                Huber <a class="moz-txt-link-rfc2396E" href="mailto:sebastian.huber@embedded-brains.de"><sebastian.huber@embedded-brains.de></a><br>
                <b><span style="font-weight: bold;">To:</span></b>
                <a class="moz-txt-link-abbreviated" 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="y_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 moz-do-not-send="true"
                href="https://sites.google.com/site/pkuwangh/solutions/arm_cross"
                target="_blank">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 moz-do-not-send="true"
                ymailto="mailto:sebastian.huber@embedded-brains.de"
                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 moz-do-not-send="true"
                ymailto="mailto:rtems-users@rtems.org"
                href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
              <a class="moz-txt-link-freetext" href="http://www.rtems.org/mailman/listinfo/rtems-users">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
              <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Joel Sherrill, Ph.D.             Director of Research & Development 
<a class="moz-txt-link-abbreviated" 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>
  </body>
</html>