[mythtv] PPC support

Cedar McKay cedar at aliandcedar.com
Mon Nov 3 17:01:03 EST 2003


I hope you get it working. I'm interested. I would love to see a PPC 
friendly mythtv ebuild for gentoo.

>Also, what would you suggest for a settings.pro file for PPC (G4 Mac) running
>Gentoo linux.\
>  
>
Well, you might take some hints from the recommended safe flags for 
G4/gentoo here:
http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html

CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7400 -O2 -pipe -fsigned-char -maltivec
	-mabi=altivec -mpowerpc-gfxopt"
CXXFLAGS="-mcpu=7400 -O2 -pipe -fsigned-char -maltivec
	-mabi=altivec -mpowerpc-gfxopt"
   -fsigned-char -maltivec -mabi=altivec -mpowerpc-gfxopt"

Note: do *not* use -march=
Note: -O3 is unstable on G4


If you have a more recent G4 you can substitute 7450 for the 7400.



good luck,
Cedar





More information about the mythtv-dev mailing list