On Apr 4, 2006, at 10:20 PM, Thomas Grill wrote:
I am just using binaries downloaded from grrrr.org, I haven't gotten flext building. I tried for a couple hours, but that build system is very complicated.
I can't believe that. What is the problem? greetings, Thomas
Making this work on GNU/Linux, Darwin, and MinGW (from packages/ Makefile, flext target):
flext: # temp hack -HCS test -f $(externals_src)/grill/flext/buildsys/mac/pd/config-gcc.def || \ cp $(externals_src)/grill/flext/buildsys/mac/pd/config-gcc.def \ $(externals_src)/grill/flext/buildsys/config-mac-pd-gcc.txt # end temp hack # tigital 8/30/2005 added cd $(externals_src)/grill/flext && \ ( \ test -f buildsys/config-mac-pd-gcc.txt || \ ( \ cp buildsys/mac/pd/config-gcc.def buildsys/config-mac-pd- gcc.txt && \ echo Copied template sys config file \ ) \ ) && \ ( \ cat buildsys/config-mac-pd-gcc.txt | \ sed "s|^PDPATH=.*|PDPATH=$(pd_src)|" > buildsys/config-mac-pd- gcc.txt \ ) && \ ( \ cat package.txt | sed "s|^PRECOMPILE=.*|PRECOMPILE=|" > package.txt \ ) && \ ( \ cat buildsys/mac/pd/gnumake-gcc-ext.inc | \ sed "s|^LDFLAG\S +=.*|LDFLAG\S += -bundle -bundle_loader $ (pd_src)/bin/pd|" > buildsys/mac/pd/gnumake-gcc-ext.inc \ ) && \ ( \ cat buildsys/mac/pd/gnumake-gcc-flext.inc | \ sed "s|^LDFLAG\S +=.*|LDFLAG\S += -dynamiclib -undefined dynamic_lookup |" > buildsys/mac/pd/gnumake-gcc-flext.inc \ ) && \ ( \ test -f config.txt || \ ( \ cp -f build/config-mac.def config.txt && \ echo Copied template flext config file \ ) \ ) && \ MACOSX_DEPLOYMENT_TARGET=10.3 bash build.sh pd gcc build-release- shared FLEXTLIB=@executable_path/../extra FLEXTINC=../flext/source FLEXTSYS=$(objectsdir) ln -sf $(externals_src)/grill/flext/pd-darwin/release-shared/ libflext-pd.$(FLEXT_VERSION).dylib $(externals_src)/grill/flext/pd- darwin/release-shared/libflext-pd.dylib install -p -m0444 $(externals_src)/grill/flext/pd-darwin/release- shared/libflext-pd.$(FLEXT_VERSION).dylib $(objectsdir) ln -sf libflext-pd.$(FLEXT_VERSION).dylib $(objectsdir)/libflext- pd.dylib install -d $(examplesdir) cp -rp $(externals_src)/grill/flext/tutorial $(examplesdir)/flext install -d $(manualsdir)/flext install -p -m0644 $(externals_src)/grill/flext/gpl.txt \ $(externals_src)/grill/flext/readme.txt \ $(externals_src)/grill/flext/license.txt \ $(manualsdir)/flext
.hc
________________________________________________________________________ ____
"Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies." - Amy Smith