error: unrecognized command line option ‘-rdynamic’
Richard Sandiford
richard.sandiford@arm.com
Mon May 11 09:31:43 GMT 2020
William Tambe via Gcc-help <gcc-help@gcc.gnu.org> writes:
> Despite having the following LINK_SPEC, I am getting unrecognized
> command line option '-rdynamic':
>
> #define LINK_SPEC "%{h*} %{v:-V} %{static:-Bstatic} %{shared:-shared}
> %{symbolic:-Bsymbolic} %{rdynamic:-export-dynamic}"
>
> Any idea what else is needed to enable the command line option -rdynamic ?
The option has to be listed in a .opt file too, otherwise the driver
won't recognise it. Normally this happens by picking one of the
config/*.opt files.
Thanks,
Richard
More information about the Gcc-help
mailing list