FreeCalypso > hg > leo2moko-debug
comparison gpf/CCD/util/globs.bat @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 @echo off | |
2 rem --------------------------------------------------------------------------- | |
3 rem Project : | |
4 rem Modul : globs.bat | |
5 rem --------------------------------------------------------------------------- | |
6 rem Copyright 2002 Texas Instruments Berlin, AG | |
7 rem All rights reserved. | |
8 rem | |
9 rem This file is confidential and a trade secret of Texas | |
10 rem Instruments Berlin, AG | |
11 rem The receipt of or possession of this file does not convey | |
12 rem any rights to reproduce or disclose its contents or to | |
13 rem manufacture, use, or sell anything it may describe, in | |
14 rem whole, or in part, without the specific written consent of | |
15 rem Texas Instruments Berlin, AG. | |
16 rem --------------------------------------------------------------------------- | |
17 rem Purpose : Find out the amount of memory needed for a globs strucure. | |
18 rem --------------------------------------------------------------------------- | |
19 | |
20 rem arm7 no Trace | |
21 if exist ccd.asm del /q ccd.asm > nul | |
22 echo Memory needed for an entity requiring reentrancy for CCD (in Bytes)... | |
23 gnumake -r -C .. ASM_ONLY=1 TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=1 TRACE=0 OBJDIR=%_CWD% ccd.asm > nul | |
24 iff %? != 0 then | |
25 echo Can't generate ccd.asm | |
26 goto error | |
27 endiff | |
28 echos - for a non-tracing CCD on ARM7: | |
29 echos ^s^s | |
30 grep globs_all ccd.asm | grep .bss | gawk -F, "{ print $2 } " | |
31 | |
32 rem arm7 Trace | |
33 del /q ccd.asm > nul | |
34 gnumake -r -C .. ASM_ONLY=1 TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=1 TRACE=1 OBJDIR=%_CWD% ccd.asm > nul | |
35 iff %? != 0 then | |
36 echo Can't generate ccd.asm | |
37 goto error | |
38 endiff | |
39 | |
40 echos - for a tracing CCD on ARM7: | |
41 echos ^s^s | |
42 grep globs_all ccd.asm | grep .bss | gawk -F, "{ print $2 } " | |
43 del /q ccd.asm > nul | |
44 | |
45 rem arm9 no Trace | |
46 if exist ccd.asm del /q ccd.asm > nul | |
47 gnumake -r -C .. ASM_ONLY=1 TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=1 TRACE=0 OBJDIR=%_CWD% ccd.asm > nul | |
48 iff %? != 0 then | |
49 echo Can't generate ccd.asm | |
50 goto error | |
51 endiff | |
52 echos - for a non-tracing CCD on ARM9: | |
53 echos ^s^s | |
54 grep globs_all ccd.asm | grep .bss | gawk -F, "{ print $2 } " | |
55 | |
56 rem arm9 Trace | |
57 del /q ccd.asm > nul | |
58 gnumake -r -C .. ASM_ONLY=1 TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=1 TRACE=1 OBJDIR=%_CWD% ccd.asm > nul | |
59 iff %? != 0 then | |
60 echo Can't generate ccd.asm | |
61 goto error | |
62 endiff | |
63 | |
64 echos - for a tracing CCD on ARM9: | |
65 echos ^s^s | |
66 grep globs_all ccd.asm | grep .bss | gawk -F, "{ print $2 } " | |
67 del /q ccd.asm > nul | |
68 | |
69 :foo | |
70 rem pc no Trace | |
71 if exist pc_globs.exe del /q pc_globs.exe > nul | |
72 if exist pc_globs.obj del /q pc_globs.obj > nul | |
73 gnumake -r -C .. GLOBS=1 TARGET=nuc PLATFORM=pc DEBUG=1 MEMSUPER=1 TRACE=0 OBJDIR=%@NAME[%_CWD%] > nul | |
74 iff %? != 0 then | |
75 echo Can't generate pc_globs | |
76 goto error | |
77 endiff | |
78 | |
79 echos - for a non-tracing CCD on PC: | |
80 echos ^s^s^s^s | |
81 pc_globs | |
82 | |
83 rem pc Trace | |
84 del /q pc_globs.exe pc_globs.obj > nul | |
85 gnumake -r -C .. GLOBS=1 TARGET=nuc PLATFORM=pc DEBUG=1 MEMSUPER=1 TRACE=1 OBJDIR=%@NAME[%_CWD%] > nul | |
86 iff %? != 0 then | |
87 echo Can't generate pc_globs | |
88 goto error | |
89 endiff | |
90 | |
91 echos - for a tracing CCD on PC: | |
92 echos ^s^s^s^s | |
93 pc_globs | |
94 | |
95 del /q pc_globs.exe pc_globs.obj > nul | |
96 :error |