Re: Help with RTEMS C User’s Guide

Laurent Navet laurent.navet at gmail.com
Tue Jan 24 10:36:51 UTC 2017


Hi
> I have made a file with the first example of printing object names (
> https://docs.rtems.org/doc-current/share/rtems/html/c_
> user/Key-Concepts-Object-Names.html#Key-Concepts-Object-Names) and i use
> the following command to use sparc-rtems4.12-gcc to compile this program
>
> sparc-rtems4.12-gcc --pipe -B/home/thd/development/rtems/
> src/builds/erc32_1/sparc-rtems4.12/erc32/lib -specs bsp_specs -qrtems -Wall
> -g -O2 -o rtems_object_try rtems_object_try.c
>
> but when i do ./rtems_object_try I get:
> ./rtems_object_try: Invalid argument

Do you try to run an executable compiled for sparc architecture on
your developement machine ?

-- 
« On ne résout pas un problème avec les modes de pensée qui l’ont engendré. »
« We cannot solve our problems with the same thinking we used when we
created them. »



More information about the devel mailing list