From fa5a047a01effcc99b3390804f6c408a73b9ecf8 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sat, 20 Jan 2007 14:26:02 +0000 Subject: PD: possibility to create DSP objects without main DSP inlet (use FLEXT_DSP0_NEW or similar) fixing typo support for multiple archs under OSX small fix for ppc arch architecture-specific compiler flags for UB under OSX fixed severe Altivec bug changed eol-style corrections to config build templates added xcode 2.4 project fixed atom sorting (now also respect symbol content) no stripping of local symbols some fixes, mostly OS X updated build system for Max with MinGW better default values fixed bug in AtomList copying svn path=/trunk/; revision=7368 --- .../grill/flext/buildsys/mac/pd/config-gcc.def | 26 ++++++++++++++++------ .../flext/buildsys/mac/pd/gnumake-gcc-ext.inc | 4 ++-- 2 files changed, 21 insertions(+), 9 deletions(-) (limited to 'externals/grill/flext/buildsys/mac/pd') diff --git a/externals/grill/flext/buildsys/mac/pd/config-gcc.def b/externals/grill/flext/buildsys/mac/pd/config-gcc.def index 925fdd9a..038fe1c1 100644 --- a/externals/grill/flext/buildsys/mac/pd/config-gcc.def +++ b/externals/grill/flext/buildsys/mac/pd/config-gcc.def @@ -24,13 +24,25 @@ INSTPATH=$(PDPATH)/extra ############################################################### +# user defined compiler flags +UFLAGS += -ffast-math + # user defined optimization flags -# (check if they match your system!) -UFLAGS=-faltivec -ffast-math +OFLAGS += -Os -ftree-vectorize -# user defined compiler flags -# (check if they match your system!) -OFLAGS=-O3 -# optimizations for G4 -OFLAGS+=-mcpu=G4 +# user defined debugging flags +DFLAGS += + +# architecture-specific flags (optional) +UFLAGS_ppc += -maltivec -faltivec +OFLAGS_ppc += -mtune=G4 +DFLAGS_ppc += + +UFLAGS_i386 += -mmmx -msse -msse2 -msse3 +OFLAGS_i386 += -mtune=prescott +DFLAGS_i386 += + +# cross-compilation (optional) +#ARCH=i386 ppc +#OSXSDK=/Developer/SDKs/MacOSX10.4u.sdk diff --git a/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc index 2e4f6995..a1712728 100644 --- a/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc +++ b/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc @@ -1,7 +1,7 @@ EXT=pd_darwin -#LDFLAGS += -bundle -bundle_loader $(PDBIN) -LDFLAGS += -dynamiclib -undefined dynamic_lookup +LDFLAGS += -bundle -bundle_loader $(PDBIN) +#LDFLAGS += -dynamiclib -undefined dynamic_lookup TARGET=$(TARGETPATH)/$(TARGETNAME) INSTTARGET=$(TARGET) -- cgit v1.2.1