Re: epiphany-rtems4.11-gcc: error: unrecognized command line option ‘-qnolinkcmds’

Hesham Moustafa heshamelmatary at gmail.com
Wed Nov 19 17:39:20 UTC 2014


On Wed, Nov 19, 2014 at 4:08 PM, Joel Sherrill <joel.sherrill at oarcorp.com>
wrote:

>
> On 11/19/2014 10:04 AM, Hesham Moustafa wrote:
> > Hi,
> >
> > I have been working on getting Epiphany toolchain built for RTEMS, and
> > then compile mninmal RTEMS code. Once issue I face now is that I got
> > this error:
> > "epiphany-rtems4.11-gcc: error: unrecognized command line option
> > ‘-qnolinkcmds’"
> >
> > Is that something I have to add to the GCC port, or I can work on
> > RTEMS to get around this error?
> >
> Is rtems.h listed in gcc/config.gcc? It is for me and should have been
> in the patch
> I sent.
>
> Yes that was the problem, I think this resulted in of my previous trails.
Thanks
for your reply, I now have a minimal epiphany/parallella BSP built.

> epiphany-*-elf | epiphany-*-rtems* )
>         tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
>         tmake_file="epiphany/t-epiphany"
>         extra_options="${extra_options} fused-madd.opt"
>         extra_objs="$extra_objs mode-switch-use.o resolve-sw-modes.o"
>         tm_defines="${tm_defines}
> EPIPHANY_STACK_OFFSET=${with_stack_offset:-8}"
>         extra_headers="epiphany_intrinsics.h"
>         case ${target} in
>         epiphany-*-rtems* )
>                 tm_file="${tm_file} epiphany/rtems.h rtems.h"
>                 ;;
>         esac
>
> > Regards,
> > Hesham
>
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> 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/devel/attachments/20141119/317ddafa/attachment.html>


More information about the devel mailing list