3 from catalyst_support import *
5 class generic_hppa(builder.generic):
6 "Abstract base class for all hppa builders"
7 def __init__(self,myspec):
8 builder.generic.__init__(self,myspec)
9 self.settings["CHROOT"]="chroot"
10 self.settings["CFLAGS"]="-O2 -pipe"
11 self.settings["CXXFLAGS"]="-O2 -pipe"
13 class arch_hppa(generic_hppa):
14 "Builder class for hppa systems"
15 def __init__(self,myspec):
16 generic_hppa.__init__(self,myspec)
17 self.settings["CFLAGS"]+=" -march=1.0"
18 self.settings["CHOST"]="hppa-unknown-linux-gnu"
20 class arch_hppa1_1(generic_hppa):
21 "Builder class for hppa 1.1 systems"
22 def __init__(self,myspec):
23 generic_hppa.__init__(self,myspec)
24 self.settings["CFLAGS"]+=" -march=1.1"
25 self.settings["CHOST"]="hppa1.1-unknown-linux-gnu"
27 class arch_hppa2_0(generic_hppa):
28 "Builder class for hppa 2.0 systems"
29 def __init__(self,myspec):
30 generic_hppa.__init__(self,myspec)
31 self.settings["CFLAGS"]+=" -march=2.0"
32 self.settings["CHOST"]="hppa2.0-unknown-linux-gnu"
35 "Inform main catalyst program of the contents of this plugin."
38 "hppa1.1": arch_hppa1_1,
39 "hppa2.0": arch_hppa2_0
40 }, ("parisc","parisc64","hppa","hppa64") )