Hi Fred,
then I changed OFLAGS for:
OFLAGS+=-march=ppc
and finally got the following error, seems better ? (just one step ?)
$ bash build.sh pd gcc make -f ./buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=./buildsys/ PKGINFO=package.txt BUILDCLASS=flext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc TARGETMODE=release TARGETTYPE=single _build_ make[1]: entrant dans le répertoire « /home/fred/pd/externals/grill/flext » g++ -c -DNDEBUG -O3 -march=ppc -pthread -fPIC -DFLEXT_USE_SIMD -DFLEXT_EXPORTS -DFLEXT_SYS=2 -I/usr/local/src/pd-0.39-0/src source/flbase.cpp -o pd-linux/release-single/flbase.opp cc1plus: error: invalid option `arch=ppc' make[1]: *** [pd-linux/release-single/flbase.opp] Erreur 1 make[1]: quittant le répertoire « /home/fred/pd/externals/grill/flext » make: *** [build-release-single] Erreur 2 fredo@sanza:~/pd/externals/grill/flext $
Sorry, I don't often use to edit these kind of config files... why arch=ppc invalid ? what is source/flbase.cpp done for ? what's wrong ?
i don't know if -march=ppc is valid or not but you can just omit it. In case you really want to have cpu-optimized code, you could also try -march=G4 or something like that.
best greetings, Thomas