329
|
1 <!-- Cerium Task Configuration
|
|
2 CPU_PPE = 0, // default
|
|
3 CPU_SPE = 1,
|
|
4 SPE_ANY = CPU_SPE,
|
|
5 SPE_0 = 2,
|
|
6 SPE_1 = 3,
|
|
7 SPE_2 = 4,
|
|
8 SPE_3 = 5,
|
|
9 SPE_4 = 6,
|
|
10 SPE_5 = 7,
|
|
11 -->
|
332
|
12 <task-config>
|
329
|
13
|
|
14 <cc name="spu-g++">
|
|
15 <compiler>
|
|
16 <command> spu-g++ </command>
|
|
17 <flag> -O9 -g -Wall -fno-exceptions -fno-rtti </flag>
|
|
18 <flag> -I../${CERIUM}/include/TaskManager -I. -I.. </flag>
|
|
19 </compiler>
|
|
20 <linker>
|
|
21 <command> spu-g++ </command>
|
|
22 <flag> -L../${CERIUM}/TaskManager -lspemanager </flag>
|
|
23 </linker>
|
|
24 </cc>
|
|
25
|
|
26 <cc name="ppu-g++">
|
|
27 <compiler>
|
|
28 <command> g++ </command>
|
|
29 <flag> -g -Wall -O9 </flag>
|
|
30 <flag> -I${CERIUM}/include/TaskManager -I. -I.. </flag>
|
|
31 </compiler>
|
|
32 <linker>
|
|
33 <command> g++ </command>
|
|
34 <flag> -L${CERIUM}/TaskManager </flag>
|
|
35 <flag> -lCellManager -lspe2 -lpthread -Wl,--gc-sections </flag>
|
|
36 </linker>
|
|
37 </cc>
|
|
38
|
|
39 <cc name="mac-g++">
|
|
40 <compiler>
|
|
41 <command> g++ </command>
|
|
42 <flag> -g -Wall -O9 </flag>
|
|
43 <flag> -I${CERIUM}/include/TaskManager -I. -I.. </flag>
|
|
44 </compiler>
|
|
45 <linker>
|
|
46 <command> g++ </command>
|
|
47 <flag> -L${CERIUM}/TaskManager </flag>
|
|
48 <flag> ${CERIUM}/TaskManager -lFifoManager `sdl-config --libs` </flag>
|
|
49 </linker>
|
|
50 </cc>
|
332
|
51
|
|
52 </task-config>
|