From eb30ee7f696e96687f2340275093357af3771266 Mon Sep 17 00:00:00 2001
From: Andrew Johnson
Date: Tue, 31 Jul 2012 13:51:20 -0500
Subject: [PATCH] Release notes about win32-x86-mingw cross-builds
Also a bit more cleanup of build rules.
---
configure/RULES_BUILD | 2 ++
documentation/RELEASE_NOTES.html | 9 +++++++++
src/ioc/db/RULES | 2 --
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/configure/RULES_BUILD b/configure/RULES_BUILD
index 38983c853..b78b56466 100644
--- a/configure/RULES_BUILD
+++ b/configure/RULES_BUILD
@@ -379,9 +379,11 @@ $(INSTALL_LIB)/%$(LIB_SUFFIX): %$(LIB_SUFFIX)
$(ECHO) "Installing library $@"
@$(INSTALL_LIBRARY) -d -m $(LIB_PERMISSIONS) $< $(INSTALL_LIB)
+ifneq ($(LIB_SUFFIX),$(DLLSTUB_SUFFIX))
$(INSTALL_LIB)/%$(DLLSTUB_SUFFIX): %$(DLLSTUB_SUFFIX)
$(ECHO) "Installing DLL stub library $@"
@$(INSTALL_LIBRARY) -d -m $(LIB_PERMISSIONS) $< $(INSTALL_LIB)
+endif # SUFFIX
$(INSTALL_SHRLIBS): $(INSTALL_SHRLIB)/%: %
$(ECHO) "Installing shared library $@"
diff --git a/documentation/RELEASE_NOTES.html b/documentation/RELEASE_NOTES.html
index 820a2ddea..86dc9d80b 100644
--- a/documentation/RELEASE_NOTES.html
+++ b/documentation/RELEASE_NOTES.html
@@ -15,6 +15,15 @@ EPICS Base 3.15.0.x releases are not intended for use in production systems.
Changes between 3.14.x and 3.15.0.x
+Cross-builds targeting win32-x86-mingw
+
+Some Linux distributions now package the MinGW cross-compiler which makes it
+possible to cross-build the win32-x86-mingw target from a linux-x86 host. Build
+configuration files for this combination are now included; adjust the settings
+in configure/os/CONFIG_SITE.linux-x86.win32-x86-mingw and add win32-x86-mingw to
+the CROSS_COMPILER_TARGET_ARCHS variable in configure/CONFIG_SITE or in
+configure/os/CONFIG_SITE.linux-x86.Common.
+
Architecture win32-x86-cygwin Removed
The ability to compile non-cygwin binaries using the Cygwin build tools is no
diff --git a/src/ioc/db/RULES b/src/ioc/db/RULES
index 694092b82..36eee734a 100644
--- a/src/ioc/db/RULES
+++ b/src/ioc/db/RULES
@@ -11,8 +11,6 @@
# This is a Makefile fragment, see src/ioc/Makefile.
-# $(filter-out $(STATIC_SRCS),$(dbCore_SRCS)) : $(COMMON_DIR)/dbCommon.h
-
dbCommon.h$(DEP): $(IOCDIR)/db/dbCommonRecord.dbd
@$(RM) $@
@$(DBTORECORDTYPEH) -D -I ../db -o $(COMMONDEP_TARGET) $< > $@