From c13445582f3712b842cdb72427d83e0de856962e Mon Sep 17 00:00:00 2001
From: Luigi 'Comio' Mantellini <luigi.mantellini@gmail.com>
Date: Mon, 24 Mar 2014 13:42:42 +0100
Subject: [PATCH] Add Mingw32-W64 configuration

---
 build/config/MinGW32-W64 | 74 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)
 create mode 100644 build/config/MinGW32-W64

diff --git a/build/config/MinGW32-W64 b/build/config/MinGW32-W64
new file mode 100644
index 0000000..95662df
--- /dev/null
+++ b/build/config/MinGW32-W64
@@ -0,0 +1,74 @@
+#
+# $Id: //poco/1.4/build/config/MinGW#2 $
+#
+# MinGW32
+#
+# Make settings for MinGW on WinXP
+#
+
+#
+# General Settings
+#
+LINKMODE = STATIC
+POCO_TARGET_OSNAME = MinGW
+POCO_TARGET_OSARCH = x86_64
+
+#
+# Define Tools
+#
+CC      = gcc
+CXX     = g++
+LINK    = $(CXX)
+LIB     = ar -cr
+RANLIB  = ranlib
+SHLIB   = $(CXX) -shared -o $@ -Wl,--out-implib=$(dir $@)$(subst cyg,lib,$(basename $(notdir $@))).a
+SHLIBLN = $(POCO_BASE)/build/script/shlibln
+STRIP   =
+DEP     = $(POCO_BASE)/build/script/makedepend.gcc 
+SHELL   = sh
+RM      = rm -rf
+CP      = cp
+MKDIR   = mkdir -p
+
+#
+# Extension for Shared Libraries
+#
+SHAREDLIBEXT     = .dll
+SHAREDLIBLINKEXT = .dll
+
+BINEXT          = .exe
+
+#
+# Compiler and Linker Flags
+#
+CFLAGS          =
+CFLAGS32        =
+CFLAGS64        =
+CXXFLAGS        = -std=c++11
+CXXFLAGS32      =
+CXXFLAGS64      =
+LINKFLAGS       = -Wl,--allow-multiple-definition
+LINKFLAGS32     =
+LINKFLAGS64     =
+STATICOPT_CC    =
+STATICOPT_CXX   =
+STATICOPT_LINK  = -static
+SHAREDOPT_CC    =
+SHAREDOPT_CXX   =
+SHAREDOPT_LINK  = -shared
+DEBUGOPT_CC     = -Og -D_DEBUG
+DEBUGOPT_CXX    = -Og -D_DEBUG
+DEBUGOPT_LINK   = -Og
+RELEASEOPT_CC   = -O2 -DNDEBUG
+RELEASEOPT_CXX  = -O2 -DNDEBUG
+RELEASEOPT_LINK = -O2
+
+#
+# System Specific Flags
+#
+SYSFLAGS = -Wall -m64 -D_WIN64 -DWINVER=0x501 -DPOCO_NO_FPENVIRONMENT -DPCRE_STATIC -DPOCO_THREAD_STACK_SIZE -DPOCO_STATIC
+# -DFoundation_Config_INCLUDED
+#
+# System Specific Libraries
+#
+SYSLIBS  =  -liphlpapi -lssl -lcrypto -lws2_32
