Plugin support on Windows/MinGW
authorBoris Kolpackov <boris@codesynthesis.com>
Sun, 26 Nov 2017 13:00:48 +0000 (13:00 +0000)
committerJonathan Yong <jyong@gcc.gnu.org>
Sun, 26 Nov 2017 13:00:48 +0000 (13:00 +0000)
commit8c7dbea9f193ae21d193453d7a9eb6d2089618d6
treec02088e446e880dcebb2359db9e0c6d8c5681dd2
parent44dfb822801cb19dd842c5eaa2bbfa3b64b375f7
Plugin support on Windows/MinGW

config/ChangeLog:
2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>

* gcc-plugin.m4: Add support for MinGW.

gcc/ChangeLog:
2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>

* plugin.c (add_new_plugin): Use platform-specific library extensions.
(try_init_one_plugin): Alternative implementation for MinGW.
* Makefile.in (plugin_implib): New.
(gengtype-lex.c): Fix broken AIX workaround.
* configure: Regenerate.
* doc/plugins.texi: Document support for MinGW.

gcc/c/ChangeLog:
2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>

* Make-lang.in (c.install-plugin): Install backend import library.

gcc/cp/ChangeLog:
2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>

* Make-lang.in (c++.install-plugin): Install backend import library.

libcc1/ChangeLog:
2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>

* configure: Regenerate.

From-SVN: r255154
13 files changed:
config/ChangeLog
config/gcc-plugin.m4
gcc/ChangeLog
gcc/Makefile.in
gcc/c/ChangeLog
gcc/c/Make-lang.in
gcc/configure
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/doc/plugins.texi
gcc/plugin.c
libcc1/ChangeLog
libcc1/configure