Hello,
I have installed pd 0.39 from sources (Miller's site) on an ubuntu ppc mac pismo g3. alsa, no jack yet, no SndOjb yet. I'm trying to compile py (from cvs) > have first to compile flext (same cvs).
As said in build.txt, I run bash build.sh pd gcc with the following error:
fredo@sanza:~/pd/externals/grill/flext $ 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 -msse -mfpmath=sse -ffast-math -DNDEBUG -O3 -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 sse' cc1plus: error: invalid option
fpmath=sse'
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 $
what is sse ? Do sobmebody have an experience ?
this is the config.txt (default):
# use SIMD CPU instructions (Altivec, SSE)? SIMD=1
# where is the STK installation? # (uncomment the line with # to disable STK support) #STK=/usr/local/lib/stk
# where is the Sndobjs installation? # (uncomment the line with # to disable SNDOBJ support) #SNDOBJ=/usr/local/lib/sndobj
Thank's for your help !
fv
On Mon, Sep 26, 2005 at 05:12:06AM +0200, FredVoisin wrote:
Hello,
I have installed pd 0.39 from sources (Miller's site) on an ubuntu ppc mac pismo g3. alsa, no jack yet, no SndOjb yet. I'm trying to compile py (from cvs) > have first to compile flext (same cvs).
As said in build.txt, I run bash build.sh pd gcc with the following error:
fredo@sanza:~/pd/externals/grill/flext $ 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 -msse -mfpmath=sse -ffast-math -DNDEBUG -O3 -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
sse' cc1plus: error: invalid option
fpmath=sse' 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 $what is sse ? Do sobmebody have an experience ?
this is the config.txt (default):
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
# use SIMD CPU instructions (Altivec, SSE)? SIMD=1
# where is the STK installation? # (uncomment the line with # to disable STK support) #STK=/usr/local/lib/stk
# where is the Sndobjs installation? # (uncomment the line with # to disable SNDOBJ support) #SNDOBJ=/usr/local/lib/sndobj
Thank's for your help !
fv
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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@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 :-)
fv
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
Thomas Grill wrote:
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.
Gentoo PPC uses -mtune=powerpc (instead of an -march flag) for compiling, so you can try that as well.
d.