unnecessary --enable-plugin tests

Ian Lance Taylor iant@google.com
Thu Apr 22 14:51:00 GMT 2010


Jack Howarth <howarth@bromo.med.uc.edu> writes:

>    Looking at the results of the tests executed
> by plugin.exp on x86_64 Fedora 10, I don't see
> any evidence that -rdynamic is ever used.

On GNU/Linux, in order to use plugins, it's necessary to use -rdynamic
when linking cc1.  Otherwise plugins will not be able to access many
functions and variables in cc1.

Darwin has a somewhat different model; I don't know if anything
similar is required there.

Ian



More information about the Gcc mailing list