diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-26 13:00:48 +0000 |
---|---|---|
committer | Jonathan Yong <jyong@gcc.gnu.org> | 2017-11-26 13:00:48 +0000 |
commit | 8c7dbea9f193ae21d193453d7a9eb6d2089618d6 (patch) | |
tree | c02088e446e880dcebb2359db9e0c6d8c5681dd2 /gcc/c | |
parent | 44dfb822801cb19dd842c5eaa2bbfa3b64b375f7 (diff) | |
download | gcc-8c7dbea9f193ae21d193453d7a9eb6d2089618d6.zip gcc-8c7dbea9f193ae21d193453d7a9eb6d2089618d6.tar.gz gcc-8c7dbea9f193ae21d193453d7a9eb6d2089618d6.tar.bz2 |
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
Diffstat (limited to 'gcc/c')
-rw-r--r-- | gcc/c/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c/Make-lang.in | 9 |
2 files changed, 12 insertions, 1 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 1d69850..087a1e7 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,7 @@ +2017-11-14 Boris Kolpackov <boris@codesynthesis.com> + + * Make-lang.in (c.install-plugin): Install backend import library. + 2017-11-23 Jakub Jelinek <jakub@redhat.com> * c-parser.c (c_parser_omp_declare_simd): Reject declare simd in diff --git a/gcc/c/Make-lang.in b/gcc/c/Make-lang.in index cfd8cd2..b194f22 100644 --- a/gcc/c/Make-lang.in +++ b/gcc/c/Make-lang.in @@ -125,7 +125,14 @@ check-c : check-gcc c.install-common: c.install-man: -c.install-plugin: + +c.install-plugin: installdirs +# Install import library. +ifeq ($(plugin_implib),yes) + $(mkinstalldirs) $(DESTDIR)$(plugin_resourcesdir) + $(INSTALL_DATA) cc1$(exeext).a $(DESTDIR)/$(plugin_resourcesdir)/cc1$(exeext).a +endif + c.uninstall: # |