APCS-32,feb 2.32 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| Copyright 2008 Castle Technology Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
|     http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| Tool options for APCS-32
|

18 19
                                 Set Alias$CC %%CC -APCS 3/32bit/fpe3 -memaccess -L22-S22-L41 %%*0
If "<Machine>"="Archimedes" then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -memaccess -L22-S22+L41 %%*0
Ben Avison's avatar
Ben Avison committed
20
If "<Machine>"="All32"      then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -cpu 3 -memaccess -L22-S22-L41 %%*0
21
If "<Machine>"="32"         then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -cpu 3 -memaccess -L22-S22+L41 %%*0
22
If "<Machine>"="Tungsten"   then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -cpu 5TE -memaccess +L22+S22+L41 %%*0
Ben Avison's avatar
Ben Avison committed
23
If "<Machine>"="ARM11ZF"    then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -cpu 6 -memaccess +L22+S22-L41 %%*0
24
If "<Machine>"="CortexA8"   then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -cpu 6 -memaccess +L22+S22-L41 %%*0
25 26
If "<Machine>"="CortexA9"   then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -cpu 6 -memaccess +L22+S22-L41 %%*0
                                 Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit %%*0
Ben Avison's avatar
Ben Avison committed
27
if "<Machine>"="All32"      then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu 3 %%*0
28 29
if "<Machine>"="32"         then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu 3 %%*0
if "<Machine>"="Tungsten"   then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu 5TE %%*0
Ben Avison's avatar
Ben Avison committed
30 31 32 33 34 35
if "<Machine>"="ARM11ZF"    then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu 6Z -fpu VFPv2 %%*0
if "<Machine>"="CortexA8"   then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu Cortex-A8 %%*0
if "<Machine>"="CortexA9"   then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu Cortex-A9 %%*0
| Fall back to -cpu 5TEJ for older versions of objasm
objasm -h { > null: }
if "<Sys$ReturnCode>"="1"   then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu 5TEJ %%*0
36 37
Set Alias$CMHG %%CMHG -32bit %%*0
Set Alias$ResGen %%ResGen -32bit %%*0
Ben Avison's avatar
Ben Avison committed
38
Set Alias$DefMod %%DefMod.!Run -32bit %%*0
39
Set Alias$-Wipe X Wipe %%*0