1 |
Hello, |
2 |
I am somewhat new to gentoo, i've used catalyst to create some |
3 |
stage1/2/3 tar balls, however i have a c3 processor, I have had a look |
4 |
at {sharedir}/arch/x86.py, and thought it should be easy to create the |
5 |
addition of a C3 type |
6 |
|
7 |
i assume something like |
8 |
|
9 |
... |
10 |
class arch_c3(generic_x86): |
11 |
def __init__(self,myspec): |
12 |
generic_x86.__init__(self,myspec) |
13 |
self.settings["CFLAGS"]="-march=i686 -mfpmath=sse -Os -pipe |
14 |
-fomit-frame-pointer" |
15 |
self.settings["CHOST"]="i686-pc-linux-gnu" |
16 |
self.settings["HOSTUSE"]=["mmx","sse"] |
17 |
|
18 |
and |
19 |
|
20 |
... |
21 |
def register(foo): |
22 |
|
23 |
foo.update({..."c3":arch_c3,....}) |
24 |
|
25 |
|
26 |
this would create a new subarch for the c3? there is probably some more |
27 |
work that needs to be done for the other revisions of the c3 |
28 |
|
29 |
Thanks |
30 |
Francis |
31 |
|
32 |
|
33 |
-- |
34 |
gentoo-dev@g.o mailing list |