From 3cd541f7d7d563a5958ed8e85593d450690889ab Mon Sep 17 00:00:00 2001 From: David Doukhan Date: Mon, 7 Feb 2011 18:23:37 +0000 Subject: some compilation options for mingw svn path=/trunk/externals/ddoukhan/cw_binaural~/; revision=14860 --- Makefile | 2 +- README.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1