wrong input format was Re: Compiling Rtems by another compiler

Joel Sherrill Joel.Sherrill at OARcorp.com
Sat Aug 10 20:08:03 UTC 2013


That will get you a toolset. Once you build a particular BSP, you have to account for the hardware specifics of a board and its loader. Alan doesn't use SimpleScalar so we should be looking at their examples.

Ehsan Salmanpour <salmanpour.ehsan at yahoo.com> wrote:



I used examples of this compilation:

http://alanstechnotes.blogspot.com/2013/03/compiling-and-installing-rtems-for.html
but I didn't get any result. please check the link above and tell me if something is wrong.


________________________________
From: Joel Sherrill <joel.sherrill at oarcorp.com>
To: Ehsan Salmanpour <salmanpour.ehsan at yahoo.com>
Cc: Sebastian Huber <sebastian.huber at embedded-brains.de>; "rtems-users at rtems.org" <rtems-users at rtems.org>
Sent: Sunday, August 11, 2013 12:05 AM
Subject: wrong input format was Re: Compiling Rtems by another compiler

On 8/10/2013 1:59 PM, Ehsan Salmanpour wrote:
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.


This is what objcopy is for. What format does SimpleScalar
want the executable in?

If you can't answer that directly, how is one of their examples
or another program compiled and linked and prepared for
execution?

This is a common issue in embedded  systems. The loader
on the target generally wants something special that is
not the direct output of ld.

--joel
________________________________
From: Sebastian Huber <sebastian.huber at embedded-brains.de><mailto:sebastian.huber at embedded-brains.de>
To: rtems-users at rtems.org<mailto:rtems-users at rtems.org>
Sent: Friday, August 9, 2013 10:27 AM
Subject: Re: Compiling Rtems by another compiler

On 2013-08-08 21:59, Ehsan Salmanpour wrote:
> Hi Everyone!
> I want to know is it possible to compile RTEMS with another compile like:
> *SimpleScalar/ARM Cross Compiler*
> (https://sites.google.com/site/pkuwangh/solutions/arm_cross)
> How?
> My goal is compile Rtems for arm7 that can be simulated in SimpleScalar.

Why do you need this compiler?  The RTEMS GCC emits standard EABI version 5 code.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone  : +49 89 189 47 41-16
Fax    : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de<mailto:sebastian.huber at embedded-brains.de>
PGP    : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-users mailing list
rtems-users at rtems.org<mailto:rtems-users at rtems.org>
http://www.rtems.org/mailman/listinfo/rtems-users




--
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com<mailto:joel.sherrill at OARcorp.com>        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130810/09521e22/attachment.html>


More information about the users mailing list