William Tambe via Gcc-help <gcc-help@xxxxxxxxxxx> 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