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

Joel Sherrill joel.sherrill at
Wed Nov 19 16:08:02 UTC 2014

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.

epiphany-*-elf | epiphany-*-rtems* )
        tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
        extra_options="${extra_options} fused-madd.opt"
        extra_objs="$extra_objs mode-switch-use.o resolve-sw-modes.o"
        case ${target} in
        epiphany-*-rtems* )
                tm_file="${tm_file} epiphany/rtems.h rtems.h"

> Regards,
> Hesham

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

More information about the devel mailing list