The current build machinery in FSF gcc doesn't appear to provide a mechanism to install target specific .def files when install-plugin installs the header files. In particular, after applying...
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00610.html ...and building gcc trunk or gcc-4_5-branch on x86_64-apple-darwin10 with --enable-plugin, the file gcc/config/darwin-sections.def isn't installed in with the plugin headers. The other definition files installed are explicitly listed in PLUGIN_HEADERS of gcc/Makefile.in. I have tried adding darwin-sections.def to tm_include in config.gcc for darwin but this doesn't allow the file to be installed. -- Summary: build machinery insufficient for installing target specific .def files as plugin headers Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: *-apple-darwin* GCC host triplet: *-apple-darwin* GCC target triplet: *-apple-darwin* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43748