1 <?xml version="1.0" encoding="ISO-8859-1"?> |
1 <?xml version="1.0" encoding="ISO-8859-1"?> |
2 <build xmlns="http://symbian.com/xml/build" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symbian.com/xml/build ../../schema/build/2_0.xsd"> |
2 <build xmlns="http://symbian.com/xml/build" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symbian.com/xml/build ../../schema/build/2_0.xsd"> |
3 <!-- RVCT build variant for RVCT compilers --> |
3 <!-- build variant for RVCT ARM toolchains --> |
4 <var name="rvct"> |
4 <var name="rvct"> |
5 <set name="TOOLCHAIN" value="RVCT"/> |
5 <set name="TOOLCHAIN" value="RVCT"/> |
6 <set name="PLATMACROS.TOOLCHAIN" value="ARMCC"/> |
6 <set name="PLATMACROS.TOOLCHAIN" value="ARMCC"/> |
|
7 |
|
8 <!-- toolchain tools --> |
|
9 <set name="ARMAR" value="$(RVCTBIN)/armar$(DOTEXE)"/> |
|
10 <set name="ARMASM" value="$(RVCTBIN)/armasm$(DOTEXE)"/> |
|
11 <set name="ARMCC" value="$(RVCTBIN)/armcc$(DOTEXE)"/> |
|
12 <set name="ARMLD" value="$(RVCTBIN)/armlink$(DOTEXE)"/> |
|
13 <set name="FROMELF" value="$(RVCTBIN)/fromelf$(DOTEXE)"/> |
|
14 |
7 <set name="CC" value="$(ARMCC)"/> |
15 <set name="CC" value="$(ARMCC)"/> |
8 <set name="LD" value="$(ARMLD)"/> |
16 <set name="LD" value="$(ARMLD)"/> |
9 <set name="ASM" value="$(ARMASM)"/> |
17 <set name="ASM" value="$(ARMASM)"/> |
10 <set name="AR" value="$(ARMAR)"/> |
18 <set name="AR" value="$(ARMAR)"/> |
11 <set name="ARMCC" value="$(RVCTBIN)/armcc$(DOTEXE)"/> |
19 |
12 <set name="ARMLD" value="$(RVCTBIN)/armlink$(DOTEXE)"/> |
|
13 <set name="ARMASM" value="$(RVCTBIN)/armasm$(DOTEXE)"/> |
|
14 <set name="ARMAR" value="$(RVCTBIN)/armar$(DOTEXE)"/> |
|
15 <set name="FROMELF" value="$(RVCTBIN)/fromelf$(DOTEXE)"/> |
|
16 <set name="AAPCS_OPTION" value="--apcs /inter"/> |
20 <set name="AAPCS_OPTION" value="--apcs /inter"/> |
17 <set name="ARCHIVER_CREATE_OPTION" value="--create"/> |
21 <set name="ARCHIVER_CREATE_OPTION" value="--create"/> |
18 <set name="ARM_INSTRUCTION_SET" value="--arm"/> |
22 <set name="ARM_INSTRUCTION_SET" value="--arm"/> |
19 <set name="ASM_OUTPUT_OPTION" value="-o"/> |
23 <set name="ASM_OUTPUT_OPTION" value="-o"/> |
20 <set name="ASSEMBLER_LISTING_OPTION" value="-S"/> |
24 <set name="ASSEMBLER_LISTING_OPTION" value="-S"/> |
21 <set name="BPABI_OPTION" value="--bpabi"/> |
25 <set name="BPABI_OPTION" value="--bpabi"/> |
|
26 <set name="CC.DWARF2" value="--dwarf2"/> |
|
27 <set name="CC.DWARF3" value="--dwarf3"/> |
22 <set name="CC_ERRORS_CONTROL_OPTION" value="--diag_error 1267"/> |
28 <set name="CC_ERRORS_CONTROL_OPTION" value="--diag_error 1267"/> |
23 <set name="CC_WARNINGS_CONTROL_OPTION" value="--diag_suppress 161,611,654,997,1152,1300,1464,1488,2523,6318,6331"/> |
29 <set name="CC_WARNINGS_CONTROL_OPTION" value="--diag_suppress 161,611,654,997,1152,1300,1464,1488,2523,6318,6331"/> |
24 <set name="C_LANG_OPTION" value=""/> |
30 <set name="CFLAGS" value=""/> |
|
31 <set name="CIADEFS" value="__CIA__"/> |
|
32 <set name="CODE_SEGMENT_START" value=""/> |
25 <set name="COMMANDFILE_OPTION" value="--via "/> |
33 <set name="COMMANDFILE_OPTION" value="--via "/> |
|
34 <set name="COMPILER_CIA_FLAGS" value=""/> |
|
35 <set name="COMPILER_DEFINES" value=""/> |
|
36 <set name="COMPILER_FPU_OPTION" value="--fpu "/> |
|
37 <set name="COMPILER_INTERWORK_DEFINES" value="__MARM_INTERWORK__"/> |
|
38 <set name="COMPILER_SYSTEM_INCLUDE_OPTION" value="-J"/> |
|
39 <set name="COMPILER_THUMB_DEFINES" value="__MARM_THUMB__"/> |
26 <set name="COMPILE_ONLY_OPTION" value="-c"/> |
40 <set name="COMPILE_ONLY_OPTION" value="-c"/> |
27 <set name="CPP_LANG_OPTION" value="--cpp"/> |
41 <set name="CPP_LANG_OPTION" value="--cpp"/> |
|
42 <set name="C_LANG_OPTION" value=""/> |
|
43 <set name="DATA_SEGMENT_START" value="$(SPLIT_OPTION) $(RW_BASE_OPTION)"/> |
28 <set name="DEBUG_OPTIMISATION" value="-O0"/> |
44 <set name="DEBUG_OPTIMISATION" value="-O0"/> |
29 <set name="DEPEND_OPTION" value="--depend_format=unix --depend"/> |
45 <set name="DEPEND_OPTION" value="--depend_format=unix --depend"/> |
30 <set name="ENUM_OPTION" value="--enum_is_int"/> |
46 <set name="ENUM_OPTION" value="--enum_is_int"/> |
|
47 <set name="EXCEPTIONS" value="--exceptions --exceptions_unwind"/> |
31 <set name="EXPORT_VTBL_OPTION" value="--export_all_vtbl"/> |
48 <set name="EXPORT_VTBL_OPTION" value="--export_all_vtbl"/> |
|
49 <set name="EXTRA_CC_OPTION" value=""/> |
32 <set name="EXTRA_LD_OPTION" value="--datacompressor=off"/> |
50 <set name="EXTRA_LD_OPTION" value="--datacompressor=off"/> |
33 <set name="FPMODE_OPTION" value="--fpmode ieee_no_fenv"/> |
51 <set name="FPMODE_OPTION" value="--fpmode ieee_no_fenv"/> |
34 <set name="LD_ERRORS_CONTROL_OPTION" value=""/> |
52 <set name="HEADER_FILES_CONTROL_OPTION" value=""/> |
35 <set name="LD_WARNINGS_CONTROL_OPTION" value="--diag_suppress 6331"/> |
53 <set name="INSTRUCTION_SET" value=""/> |
36 <set name='LD_WARNINGS_SUPPRESSION_ARMLIBS' value='--diag_suppress 6780' /> |
|
37 <set name="LISTING_OPTION" value="-S"/> |
|
38 <set name="EXCEPTIONS" value="--exceptions --exceptions_unwind"/> |
|
39 <set name="NO_EXCEPTIONS" value="--no_exceptions --no_exceptions_unwind"/> |
|
40 <set name="PREINCLUDE_OPTION" value="--preinclude"/> |
|
41 <set name="PREPROCESSOR_OPTION" value="-E"/> |
|
42 <set name="REL_OPTIMISATION" value="-O2"/> |
|
43 <set name="STDLIB_OPTION" value="--no_scanlib"/> |
|
44 <set name="RUNTIME_SYMBOL_VISIBILITY_OPTION" value="--dllimport_runtime"/> |
|
45 <set name="RW_BASE_OPTION" value="--rw-base" /> |
|
46 <set name="RW_BASE" value="$(RW_BASE_OPTION) 0x400000"/> |
|
47 <set name="CODE_SEGMENT_START" value=""/> |
|
48 <set name="PREINCLUDE" value="$(RVCT_PRE_INCLUDE)"/> |
|
49 <set name="CC.DWARF2" value="--dwarf2"/> |
|
50 <set name="CC.DWARF3" value="--dwarf3"/> |
|
51 <set name="LD.ARMV5" value=""/> |
54 <set name="LD.ARMV5" value=""/> |
52 <set name="LD.ARMV6" value=""/> |
55 <set name="LD.ARMV6" value=""/> |
53 <set name="LD.ARMV7" value=""/> |
56 <set name="LD.ARMV7" value=""/> |
54 <set name="CFLAGS" value=""/> |
57 <set name="LD_ERRORS_CONTROL_OPTION" value=""/> |
55 <set name="CIADEFS" value="__CIA__"/> |
58 <set name="LD_WARNINGS_CONTROL_OPTION" value="--diag_suppress 6331"/> |
56 <append name="CDEFS" value='__SUPPORT_CPP_EXCEPTIONS__ _UNICODE __SYMBIAN32__ __ARMCC__ __EPOC32__ __MARM__ __EABI__ __PRODUCT_INCLUDE__="$(PRODUCT_INCLUDE)" $(MMPDEFS) $(ARMMACROS)'/> |
59 <set name="LD_WARNINGS_SUPPRESSION_ARMLIBS" value="--diag_suppress 6780"/> |
57 <set name="COMPILER_CIA_FLAGS" value=""/> |
|
58 <set name="COMPILER_FPU_OPTION" value="--fpu "/> |
|
59 <set name="COMPILER_DEFINES" value=""/> |
|
60 <set name="COMPILER_INTERWORK_DEFINES" value="__MARM_INTERWORK__"/> |
|
61 <set name="COMPILER_SYSTEM_INCLUDE_OPTION" value="-J"/> |
|
62 <set name="COMPILER_THUMB_DEFINES" value="__MARM_THUMB__"/> |
|
63 <set name="DATA_SEGMENT_START" value="$(SPLIT_OPTION) $(RW_BASE_OPTION)"/> |
|
64 <set name="EXTRA_CC_OPTION" value=""/> |
|
65 <set name="HEADER_FILES_CONTROL_OPTION" value=""/> |
|
66 <set name="LIBPATH" value=""/> |
60 <set name="LIBPATH" value=""/> |
67 <set name="LIBRARY" value=""/> |
61 <set name="LIBRARY" value=""/> |
68 <set name="LICENSERETRY_OPTION" value=""/> |
62 <set name="LICENSERETRY_OPTION" value=""/> |
69 <set name="LINKER_ADD_STATIC_RUNTIME" value=""/> |
63 <set name="LINKER_ADD_STATIC_RUNTIME" value=""/> |
70 <set name="LINKER_DEBUG_OPTION" value="--debug"/> |
64 <set name="LINKER_DEBUG_OPTION" value="--debug"/> |
71 <set name="LINKER_DEFAULT_LIBS" value=""/> |
65 <set name="LINKER_DEFAULT_LIBS" value=""/> |
72 <set name="LINKER_DEFAULT_LIB_PATHS" value=""/> |
66 <set name="LINKER_DEFAULT_LIB_PATHS" value=""/> |
73 <set name="LINKER_ENTRY_OPTION" value="--entry"/> |
67 <set name="LINKER_ENTRY_OPTION" value="--entry"/> |
|
68 <set name="LINKER_GROUP_END_OPTION" value=""/> |
74 <set name="LINKER_GROUP_START_OPTION" value=""/> |
69 <set name="LINKER_GROUP_START_OPTION" value=""/> |
75 <set name="LINKER_GROUP_END_OPTION" value=""/> |
|
76 <set name="LINKER_MISC_FLAGS" value="$(LICENSERETRY_OPTION)"/> |
70 <set name="LINKER_MISC_FLAGS" value="$(LICENSERETRY_OPTION)"/> |
77 <set name="LINKER_NODEBUG_OPTION" value=""/> |
71 <set name="LINKER_NODEBUG_OPTION" value=""/> |
78 <set name="LINKER_SCRIPT_FILE_OPTION" value=""/> |
72 <set name="LINKER_SCRIPT_FILE_OPTION" value=""/> |
|
73 <set name="LINKER_SYMBOLS_FILE_OPTION" value="--list"/> |
79 <set name="LINKER_SYMBOLS_OPTION" value="--symbols"/> |
74 <set name="LINKER_SYMBOLS_OPTION" value="--symbols"/> |
80 <set name="LINKER_SYMBOLS_FILE_OPTION" value="--list"/> |
75 <set name="LISTING_OPTION" value="-S"/> |
|
76 <set name="NO_EXCEPTIONS" value="--no_exceptions --no_exceptions_unwind"/> |
|
77 <set name="NO_UNALIGNED_ACCESS" value="$(CC.NO_UNALIGNED_ACCESS)"/> |
|
78 <set name="PREINCLUDE" value="$(RVCT_PRE_INCLUDE)"/> |
|
79 <set name="PREINCLUDE_OPTION" value="--preinclude"/> |
|
80 <set name="PREPROCESSOR_OPTION" value="-E"/> |
|
81 <set name="REL_OPTIMISATION" value="-O2"/> |
|
82 <set name="RUNTIME_SYMBOL_VISIBILITY_OPTION" value="--dllimport_runtime"/> |
|
83 <set name="RW_BASE" value="$(RW_BASE_OPTION) 0x400000"/> |
|
84 <set name="RW_BASE_OPTION" value="--rw-base"/> |
81 <set name="SHARED_OBJECT_OPTION" value="--dll"/> |
85 <set name="SHARED_OBJECT_OPTION" value="--dll"/> |
82 <set name="SID" value=""/> |
86 <set name="SID" value=""/> |
83 <set name="SO_NAME_OPTION" value="--soname"/> |
87 <set name="SO_NAME_OPTION" value="--soname"/> |
84 <set name="STATIC_LIBS_PATH" value="$(RVCTLIB)/armlib"/> |
88 <set name="STATIC_LIBS_PATH" value="$(RVCTLIB)/armlib"/> |
85 <set name="STDCPP_INCLUDE" value="$(EPOCINCLUDE)/stdapis"/> |
89 <set name="STDCPP_INCLUDE" value="$(EPOCINCLUDE)/stdapis"/> |
|
90 <set name="STDLIB_OPTION" value="--no_scanlib"/> |
|
91 <set name="SUPPORTS_ABIV1_IMPLIBS" value="1"/> |
86 <set name="SYMBIAN_LD_MESSAGE_OPTION" value="$(LD_WARNINGS_CONTROL_OPTION) $(LD_ERRORS_CONTROL_OPTION)"/> |
92 <set name="SYMBIAN_LD_MESSAGE_OPTION" value="$(LD_WARNINGS_CONTROL_OPTION) $(LD_ERRORS_CONTROL_OPTION)"/> |
87 <set name="SUPPORTS_ABIV1_IMPLIBS" value="1"/> |
|
88 <set name="TARGET_RELOCATION_OPTION" value="" /> |
|
89 <set name="SYMVER_OPTION" value="--symver_soname"/> |
93 <set name="SYMVER_OPTION" value="--symver_soname"/> |
|
94 <set name="TARGET_RELOCATION_OPTION" value=""/> |
90 <set name="TEMP_FILES_OPTION" value=""/> |
95 <set name="TEMP_FILES_OPTION" value=""/> |
91 <set name="THUMB_INSTRUCTION_SET" value="--thumb"/> |
96 <set name="THUMB_INSTRUCTION_SET" value="--thumb"/> |
92 <set name="INSTRUCTION_SET" value=""/> |
|
93 <set name="TRANASM_FLAGS" value="-n -s"/> |
97 <set name="TRANASM_FLAGS" value="-n -s"/> |
94 <set name="TRANASM_INPUT_OPTION" value=""/> |
98 <set name="TRANASM_INPUT_OPTION" value=""/> |
95 <set name="TRANASM_OUTPUT_OPTION" value="-o="/> |
99 <set name="TRANASM_OUTPUT_OPTION" value="-o="/> |
96 <set name="TRANSFORM_CIA" value="1"/> |
100 <set name="TRANSFORM_CIA" value="1"/> |
97 <set name="UNDEFINED_SYMBOL_REF_OPTION" value=""/> |
101 <set name="UNDEFINED_SYMBOL_REF_OPTION" value=""/> |
98 <set name="UNIX_SLASH_FOR_CC_ABS_PATHS" value="0"/> |
102 <set name="UNIX_SLASH_FOR_CC_ABS_PATHS" value="0"/> |
99 <set name="UNRESOLVED_SYMBOL_REF_OPTION" value=""/> |
103 <set name="UNRESOLVED_SYMBOL_REF_OPTION" value=""/> |
100 <set name="USERINCLUDE" value=""/> |
104 <set name="USERINCLUDE" value=""/> |
101 <set name="USER_LIBS_PATH_OPTION" value="--userlibpath"/> |
105 <set name="USER_LIBS_PATH_OPTION" value="--userlibpath"/> |
102 <set name="VFE_OPTION" value="--no_vfe"/> |
106 <set name="VFE_OPTION" value="--no_vfe"/> |
103 <set name="NO_UNALIGNED_ACCESS" value="$(CC.NO_UNALIGNED_ACCESS)"/> |
107 |
|
108 <append name="CDEFS" value="__ARMCC__"/> |
104 </var> |
109 </var> |
105 </build> |
110 </build> |