Makefile.in (SO_LIB): Handle multilib build for native windows targets.
2011-03-28 Kai Tietz <ktietz@redhat.com> * gcc-interface/Makefile.in (SO_LIB): Handle multilib build for native windows targets. (EH_MECHANISM): Make sure we use gcc's exception mechanism for all native windows target. * system-mingw.ads (System): Change ZCX_By_Default default to True. From-SVN: r171599
This commit is contained in:
parent
dd350eba53
commit
333d8affda
@ -1,5 +1,12 @@
|
|||||||
2011-03-28 Kai Tietz <ktietz@redhat.com>
|
2011-03-28 Kai Tietz <ktietz@redhat.com>
|
||||||
|
|
||||||
|
* gcc-interface/Makefile.in (SO_LIB): Handle multilib build for native
|
||||||
|
windows targets.
|
||||||
|
(EH_MECHANISM): Make sure we use gcc's exception mechanism for all
|
||||||
|
native windows target.
|
||||||
|
* system-mingw.ads (System): Change ZCX_By_Default default to
|
||||||
|
True.
|
||||||
|
|
||||||
* raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to
|
* raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to
|
||||||
prevent warning.
|
prevent warning.
|
||||||
|
|
||||||
|
@ -1634,21 +1634,26 @@ ifeq ($(strip $(filter-out cygwin32% mingw32% pe,$(osys))),)
|
|||||||
s-osprim.adb<s-osprim-mingw.adb \
|
s-osprim.adb<s-osprim-mingw.adb \
|
||||||
s-taprop.adb<s-taprop-mingw.adb
|
s-taprop.adb<s-taprop-mingw.adb
|
||||||
|
|
||||||
|
EH_MECHANISM=-gcc
|
||||||
ifeq ($(strip $(filter-out x86_64%,$(arch))),)
|
ifeq ($(strip $(filter-out x86_64%,$(arch))),)
|
||||||
ifeq ($(strip $(MULTISUBDIR)),/32)
|
ifeq ($(strip $(MULTISUBDIR)),/32)
|
||||||
LIBGNAT_TARGET_PAIRS += \
|
LIBGNAT_TARGET_PAIRS += \
|
||||||
system.ads<system-mingw.ads
|
system.ads<system-mingw.ads
|
||||||
|
SO_OPTS= -m32 -Wl,-soname,
|
||||||
else
|
else
|
||||||
LIBGNAT_TARGET_PAIRS += \
|
LIBGNAT_TARGET_PAIRS += \
|
||||||
system.ads<system-mingw-x86_64.ads
|
system.ads<system-mingw-x86_64.ads
|
||||||
|
SO_OPTS = -m64 -Wl,-soname,
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
ifeq ($(strip $(MULTISUBDIR)),/64)
|
ifeq ($(strip $(MULTISUBDIR)),/64)
|
||||||
LIBGNAT_TARGET_PAIRS += \
|
LIBGNAT_TARGET_PAIRS += \
|
||||||
system.ads<system-mingw-x86_64.ads
|
system.ads<system-mingw-x86_64.ads
|
||||||
|
SO_OPTS = -m64 -Wl,-soname,
|
||||||
else
|
else
|
||||||
LIBGNAT_TARGET_PAIRS += \
|
LIBGNAT_TARGET_PAIRS += \
|
||||||
system.ads<system-mingw.ads
|
system.ads<system-mingw.ads
|
||||||
|
SO_OPTS = -m32 -Wl,-soname,
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ private
|
|||||||
Always_Compatible_Rep : constant Boolean := False;
|
Always_Compatible_Rep : constant Boolean := False;
|
||||||
Suppress_Standard_Library : constant Boolean := False;
|
Suppress_Standard_Library : constant Boolean := False;
|
||||||
Use_Ada_Main_Program_Name : constant Boolean := False;
|
Use_Ada_Main_Program_Name : constant Boolean := False;
|
||||||
ZCX_By_Default : constant Boolean := False;
|
ZCX_By_Default : constant Boolean := True;
|
||||||
GCC_ZCX_Support : constant Boolean := True;
|
GCC_ZCX_Support : constant Boolean := True;
|
||||||
|
|
||||||
---------------------------
|
---------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user