self.settings["CHROOT"]="chroot"
self.settings["CHOST"]="powerpc-unknown-linux-gnu"
-
class arch_power_ppc(generic_ppc):
"builder class for generic powerpc/power"
def __init__(self,myspec):
generic_ppc.__init__(self,myspec)
- self.settings["CFLAGS"]="-O3 -mcpu=common"
+ self.settings["CFLAGS"]="-O3 -mcpu=common -fno-strict-aliasing"
class arch_ppc(generic_ppc):
"builder class for generic powerpc"
def __init__(self,myspec):
generic_ppc.__init__(self,myspec)
- self.settings["CFLAGS"]="-O3 -mcpu=powerpc"
+ self.settings["CFLAGS"]="-O3 -mcpu=powerpc -fno-strict-aliasing"
class arch_power(generic_ppc):
"builder class for generic power"
def __init__(self,myspec):
generic_ppc.__init__(self,myspec)
- self.settings["CFLAGS"]="-O3 -mcpu=power"
+ self.settings["CFLAGS"]="-O3 -mcpu=power -fno-strict-aliasing"
class arch_g3(generic_ppc):
def __init__(self,myspec):
generic_ppc.__init__(self,myspec)
- self.settings["CFLAGS"]="-O3 -mcpu=G3"
+ self.settings["CFLAGS"]="-O2 -mcpu=G3 -fno-strict-aliasing"
class arch_g4(generic_ppc):
def __init__(self,myspec):
generic_ppc.__init__(self,myspec)
- self.settings["CFLAGS"]="-O3 -mcpu=G4 -maltivec -mabi=altivec"
+ self.settings["CFLAGS"]="-O2 -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing"
self.settings["HOSTUSE"]=["altivec"]
class arch_g5(generic_ppc):
def __init__(self,myspec):
generic_ppc.__init__(self,myspec)
- self.settings["CFLAGS"]="-O3 -mcpu=G5 -maltivec -mabi=altivec"
+ self.settings["CFLAGS"]="-O2 -mcpu=G5 -maltivec -mabi=altivec -fno-strict-aliasing"
self.settings["HOSTUSE"]=["altivec"]
-
+
+class arch_experimental(generic_ppc):
+ def __init__(self,myspec):
+ generic_ppc.__init__(self,myspec)
+ self.settings["CFLAGS"]="-O3 -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing"
+ self.settings["HOSTUSE"]=["altivec nptl"]
+
def register(foo):
"Inform main catalyst program of the contents of this plugin."
- #power/ppc can't be used as a subarch name as it has a "/" in it and is used in filenames
- foo.update({"ppc":arch_ppc,"power":arch_power,"power-ppc":arch_power_ppc,"g3":arch_g3,"g4":arch_g4,"g5":arch_g5})
+ foo.update({"experimental":arch_experimental,"ppc":arch_ppc,"power":arch_power,"power-ppc":arch_power_ppc,"g3":arch_g3,"g4":arch_g4,"g5":arch_g5})