x86_64 tools gcc error: unrecognized command line option '-qnolinkcmds'
amaan.cheval at gmail.com
Fri Apr 6 08:35:27 UTC 2018
Whoops, I just realized that by rtems.h, you probably meant the top-level
one, not the arch-specific one. That makes a lot more sense given that I
see the GCC spec syntax with mention of qnolinkcmds in there too.
I'll try recompiling the tools with the addition and send the GCC patch if
that does it (unless of course, you'd rather do it, Joel). I don't believe
a patch this small will require any paperwork either for copyright
assignment or whatnot.
On Fri, Apr 6, 2018 at 1:43 PM Amaan Cheval <amaan.cheval at gmail.com> wrote:
> As prep for my x86_64 port / BSP proposal, I'm building a stub port to
> compile with the x86_64 toolset to surface any features the tools may be
> missing. Here's an error I came across:
> make: Entering directory
> x86_64-rtems5-gcc --pipe -O2 -g -ffunction-sections -fdata-sections
> -qnolinkcmds -nostdlib -r -o dirutils.rel src/dirutils_rel-dirutils.o
> Making all-am in .
> x86_64-rtems5-gcc: error: unrecognized command line option '-qnolinkcmds'
> Makefile:484: recipe for target 'dirutils.rel' failed
> From previous correspondence, it seems like rtems.h in gcc is relevant
> rtems-tools built x86_64-rtems5-gcc v7.2.0 and that does include rtemself.h
> here, which contains the same content as I expected from the rtems.h
> for other architectures.
> Joel, do you have any thoughts off the top of your head? I'll continue
> looking into it, but any background information I may be missing would be
>  https://lists.rtems.org/pipermail/devel/2014-November/009177.html
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel