From c92bd819f194d35db6b4de1ca598d2c176fdcb0f Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 24 Oct 2017 19:04:40 -0400 Subject: midipix targets: added the -mout-dsolib PE-specific directive. --- gcc/config/i386/midipix.opt | 8 ++++++-- gcc/config/i386/t-midipix | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'gcc') diff --git a/gcc/config/i386/midipix.opt b/gcc/config/i386/midipix.opt index 4cf16dca4..541e3cab8 100644 --- a/gcc/config/i386/midipix.opt +++ b/gcc/config/i386/midipix.opt @@ -2,7 +2,7 @@ ;; ;; ;; midipix target directives ;; ;; ;; -;; Copyright (C) 2014,2015 Z. Gilboa ;; +;; Copyright (C) 2014--2017 Z. Gilboa ;; ;; ;; ;; This program is free software: you can redistribute it and/or modify ;; ;; it under the terms of the GNU General Public License as published by ;; @@ -27,9 +27,13 @@ mposix Target always join or create a posix session +mout-dsolib +Target +upon linking the dynamic library foo.so, generate an accompanying custom (.dsometa) import library foo.lib.a + mout-implib Target -upon linking the dynamic library foo.so, generate an accompanying import library foo.lib.a +upon linking the dynamic library foo.so, generate an accompanying legacy (.idata) import library foo.lib.a moutput-def Target diff --git a/gcc/config/i386/t-midipix b/gcc/config/i386/t-midipix index 0a05c343f..56e29c484 100644 --- a/gcc/config/i386/t-midipix +++ b/gcc/config/i386/t-midipix @@ -2,7 +2,7 @@ ## ## ## midipix target-specific build recipes ## ## ## -## Copyright (C) 2014,2015 Z. Gilboa ## +## Copyright (C) 2014--2017 Z. Gilboa ## ## ## ## This program is free software: you can redistribute it and/or modify ## ## it under the terms of the GNU General Public License as published by ## @@ -69,7 +69,7 @@ SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver SHLIB_LINK = $(GCC_FOR_TARGET) \ $(LIBGCC2_CFLAGS) \ - -shared -mout-implib \ + -shared -mout-dsolib \ -nodefaultlibs \ -o $(SHLIB_DIR)/$(SHLIB_SONAME) \ $(SHLIB_OBJS) \ -- cgit v1.2.3