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

Joel Sherrill joel.sherrill at oarcorp.com
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}"
        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




More information about the devel mailing list