aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Doukhan <rudk@users.sourceforge.net>2011-02-07 18:23:37 +0000
committerDavid Doukhan <rudk@users.sourceforge.net>2011-02-07 18:23:37 +0000
commit3cd541f7d7d563a5958ed8e85593d450690889ab (patch)
tree67a050bbbfda39b8b6618994e836a806bb6ef3bd
parent74d1490651de096316f94de6d6dfec5e485dc99d (diff)
some compilation options for mingw
svn path=/trunk/externals/ddoukhan/cw_binaural~/; revision=14860
-rw-r--r--Makefile2
-rw-r--r--README.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 96f9c6e..122cba1 100644
--- a/Makefile
+++ b/Makefile
@@ -219,7 +219,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)))
OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer
CFLAGS += -mms-bitfields
LDFLAGS += -s -shared -Wl,--enable-auto-import
- LIBS += -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" -L"$(PD_PATH)/obj" -lpd -lwsock32 -lkernel32 -luser32 -lgdi32
+ LIBS += -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" -L"$(PD_PATH)/obj" -lpd -lwsock32 -lkernel32 -luser32 -lgdi32 -lregex -static-libgcc -static
STRIP = strip --strip-unneeded -R .note -R .comment
DISTBINDIR=$(DISTDIR)-$(OS)
endif
diff --git a/README.txt b/README.txt
index 611feeb..f125937 100644
--- a/README.txt
+++ b/README.txt
@@ -10,5 +10,7 @@ David Doukhan and Anne Sedes, PDCON09
* libsndfile should be installed on your machine in order to compile the external
+* when using mingw compiler, you should install the gnu regex lib
+
* The external use try/catch statements. On some OS, it may cause PD to crash when exceptions are thrown. To solve this issue, go to file=>path=>startup, edit a new entry, and set cw_binaural~ to be the first external to be loaded.
For more details concerning the try/cath issue, see http://www.mail-archive.com/pd-dev@iem.at/msg06694.html