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 ?