[PD] problem compiling flext linux ppc (Mac ubuntu)

FredVoisin ordi at fredvoisin.com
Mon Sep 26 07:58:23 CEST 2005

carmen a écrit :

> flext build stops twice, therse 2 config files to edit. in the other
> one theres the mfpmath stuff. just remove it and try again..try
> -march=ppc instead too
YEs thank you, it's quite better :
I changed config-lnx-pd-gcc.txt with commenting UFLAGS :

> # (check if they match your system!)
> #UFLAGS=-msse -mfpmath=sse -ffast-math

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 at 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 ?

merci pour votre feedback  :-)


More information about the Pd-list mailing list