author | yiluzhu |
Wed, 26 May 2010 10:25:38 +0100 | |
branch | fix |
changeset 572 | c1583702caf5 |
parent 412 | 824dddcc66f7 |
child 612 | 72ff9b952200 |
permissions | -rw-r--r-- |
3 | 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"> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
265
diff
changeset
|
3 |
<!-- build variant for GCCE ARM toolchains --> |
3 | 4 |
<var name="gcce_base"> |
5 |
<set name="TOOLCHAIN" value="GCCE"/> |
|
6 |
<set name="PLATMACROS.TOOLCHAIN" value="GCCE"/> |
|
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
7 |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
265
diff
changeset
|
8 |
<!-- toolchain tools --> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
265
diff
changeset
|
9 |
<set name="GCCEAR" value="$(GCCEBIN)/arm-none-symbianelf-ar$(DOTEXE)"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
265
diff
changeset
|
10 |
<set name="GCCEASM" value="$(GCCEBIN)/arm-none-symbianelf-as$(DOTEXE)"/> |
3 | 11 |
<set name="GCCECC" value="$(GCCEBIN)/arm-none-symbianelf-g++$(DOTEXE)"/> |
22 | 12 |
<set name="GCCELD" value="$(GCCEBIN)/arm-none-symbianelf-g++$(DOTEXE)"/> |
3 | 13 |
<set name="FROMELF" value="$(GCCEBIN)/arm-none-symbianelf-readelf$(DOTEXE)"/> |
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
14 |
|
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
15 |
<set name="CC" value="$(GCCECC)"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
16 |
<set name="LD" value="$(GCCELD)"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
17 |
<set name="ASM" value="$(GCCEASM)"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
18 |
<set name="AR" value="$(GCCEAR)"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
19 |
|
3 | 20 |
<set name="AAPCS_OPTION" value="-mapcs -mthumb-interwork"/> |
21 |
<set name="ARCHIVER_CREATE_OPTION" value="cr"/> |
|
22 |
<set name="ARM_INSTRUCTION_SET" value="-marm"/> |
|
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
23 |
<set name="ARMLIBS" value=""/> |
3 | 24 |
<set name="ASM_OUTPUT_OPTION" value="-o"/> |
25 |
<set name="ASSEMBLER_LISTING_OPTION" value="-S"/> |
|
26 |
<set name="BPABI_OPTION" value=""/> |
|
27 |
<set name="C_LANG_OPTION" value="-x c"/> |
|
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
28 |
<set name="CC.ARMV5" value="-march=armv5t"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
29 |
<set name="CC.ARMV6" value="-march=armv6t2"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
30 |
<set name="CC.ARMV7" value="-march=armv7"/> |
3 | 31 |
<!-- From the GCC manual: "With this option, GCC uses features of DWARF version 3 when they are useful; ..." --> |
32 |
<!-- There is no -gdwarf-3 option; hence CC.DWARF2 and CC.DWARF3 have the same value. --> |
|
33 |
<set name="CC.DWARF2" value="-gdwarf-2"/> |
|
34 |
<set name="CC.DWARF3" value="-gdwarf-2"/> |
|
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
35 |
<set name="CC.NO_UNALIGNED_ACCESS" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
36 |
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="soft"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
37 |
<set name="CC.SOFTVFP_MAYBE_VFPV3" value="soft"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
38 |
<set name="CC_ERRORS_CONTROL_OPTION" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
39 |
<set name="CC_WARNINGS_CONTROL_OPTION" value="-Wall -Wno-unknown-pragmas"/> |
3 | 40 |
<set name="CFLAGS" value=""/> |
41 |
<set name="CIADEFS" value="__CIA__"/> |
|
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
42 |
<set name="CODE_SEGMENT_START" value="-Ttext"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
43 |
<set name="COMMANDFILE_OPTION" value="@"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
44 |
<set name="COMPILE_ONLY_OPTION" value="-c"/> |
3 | 45 |
<set name="COMPILER_CIA_FLAGS" value="-marm"/> |
9 | 46 |
<set name="COMPILER_DEFINES" value="-D__GCCE__"/> |
47 |
<set name="COMPILER_FPU_OPTION" value="-mfloat-abi="/> |
|
3 | 48 |
<set name="COMPILER_INTERWORK_DEFINES" value="__MARM_INTERWORK__"/> |
49 |
<set name="COMPILER_SYSTEM_INCLUDE_OPTION" value="-I"/> |
|
50 |
<set name="COMPILER_THUMB_DEFINES" value="__MARM_THUMB__"/> |
|
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
51 |
<set name="CPP_LANG_OPTION" value="-x c++ -Wno-ctor-dtor-privacy"/> |
3 | 52 |
<set name="DATA_SEGMENT_START" value="$(SPLIT_OPTION) $(RW_BASE_OPTION)"/> |
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
53 |
<set name="DEBUG_OPTIMISATION" value="-O0"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
54 |
<set name="DEPEND_OPTION" value="-MD -MF"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
55 |
<set name="ENUM_OPTION" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
56 |
<set name="EXCEPTIONS" value="-fexceptions"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
57 |
<set name="EXPORT_VTBL_OPTION" value=""/> |
3 | 58 |
<set name="EXTRA_CC_OPTION" value=""/> |
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
59 |
<set name="EXTRA_LD_OPTION" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
60 |
<set name="FPMODE_OPTION" value=""/> |
3 | 61 |
<set name="HEADER_FILES_CONTROL_OPTION" value=""/> |
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
62 |
<set name="INSTRUCTION_SET" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
63 |
<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt3_1.lib"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
64 |
<set name="LD.ARMV5" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
65 |
<set name="LD.ARMV6" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
66 |
<set name="LD.ARMV7" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
67 |
<set name="LD_ERRORS_CONTROL_OPTION" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
68 |
<set name="LD_WARNINGS_CONTROL_OPTION" value="-Wl,--no-undefined"/> |
3 | 69 |
<set name="LIBPATH" value=""/> |
70 |
<set name="LIBRARY" value=""/> |
|
71 |
<set name="LICENSERETRY_OPTION" value=""/> |
|
72 |
<set name="LINKER_ADD_STATIC_RUNTIME" value="1"/> |
|
73 |
<set name="LINKER_DEBUG_OPTION" value=""/> |
|
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
74 |
<set name="LINKER_DEFAULT_LIB_PATHS" value=""/> |
3 | 75 |
<set name="LINKER_DEFAULT_LIBS" value="-lsupc++ -lgcc"/> |
22 | 76 |
<set name="LINKER_ENTRY_OPTION" value="-Wl,--entry"/> |
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
77 |
<set name="LINKER_GROUP_END_OPTION" value="--end-group"/> |
3 | 78 |
<set name="LINKER_GROUP_START_OPTION" value="--start-group"/> |
22 | 79 |
<set name="LINKER_MISC_FLAGS" value="-Wl,$(CODE_SEGMENT_START),0x8000"/> |
80 |
<set name="LINKER_NODEBUG_OPTION" value = "-Wl,--strip-debug"/> |
|
3 | 81 |
<set name="LINKER_SCRIPT_FILE_OPTION" value="-T"/> |
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
82 |
<set name="LINKER_SYMBOLS_FILE_OPTION" value="-Wl,-Map"/> |
22 | 83 |
<set name="LINKER_SYMBOLS_OPTION" value=""/> |
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
84 |
<set name="LISTING_OPTION" value="-S"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
85 |
<set name="NEED_ENTRYPOINT_LIBRARY" value="" /> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
86 |
<set name="NEED_ENTRYPOINT_LIBRARY" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
87 |
<set name="NO_EXCEPTIONS" value="-fno-exceptions"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
88 |
<set name="NO_UNALIGNED_ACCESS" value="$(CC.NO_UNALIGNED_ACCESS)"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
89 |
<set name="OWN_LIBRARY_OPTION" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
90 |
<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
91 |
<set name="PL.SOFTVFP_MAYBE_VFPV3" value="softvfp"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
92 |
<set name="PREINCLUDE" value="$(EPOCINCLUDE)/gcce/gcce.h"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
93 |
<set name="PREINCLUDE_OPTION" value="-include"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
94 |
<set name="PREPROCESSOR_OPTION" value="-E"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
95 |
<set name="REL_OPTIMISATION" value="-O2"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
96 |
<set name="RELOCATABLE_IMAGE_OPTION" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
97 |
<set name="RUNTIME_SYMBOL_VISIBILITY_OPTION" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
98 |
<set name="RVCTBIN" value="" /> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
99 |
<set name="RVCTINC" value="" /> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
100 |
<set name="RVCTLIB" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
101 |
<set name="RW_BASE" value="$(RW_BASE_OPTION)0x400000"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
102 |
<set name="RW_BASE_OPTION" value="-Wl,-Tdata,"/> |
22 | 103 |
<set name="SHARED_OBJECT_OPTION" value="-Wl,-shared"/> |
3 | 104 |
<set name="SID" value=""/> |
22 | 105 |
<set name="SO_NAME_OPTION" value="-Wl,-soname"/> |
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
106 |
<set name="SPLIT_OPTION" value=""/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
107 |
<set name="STATIC_LIBS_LIST" value=""/> |
3 | 108 |
<set name="STATIC_LIBS_PATH" value="" /> |
109 |
<set name="STDCPP_INCLUDE" value="$(EPOCINCLUDE)/stdapis"/> |
|
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
110 |
<set name="STDLIB_OPTION" value="-nodefaultlibs"/> |
3 | 111 |
<set name="SUPPORTS_ABIV1_IMPLIBS" value=""/> |
112 |
<set name="SYMBIAN_LD_MESSAGE_OPTION" value="$(LD_WARNINGS_CONTROL_OPTION) $(LD_ERRORS_CONTROL_OPTION)"/> |
|
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
113 |
<set name="SYMVER_OPTION" value="-Wl,--default-symver"/> |
3 | 114 |
<set name="TARGET_RELOCATION_OPTION" value="--target1-rel" /> |
115 |
<set name="TEMP_FILES_OPTION" value="-pipe"/> |
|
116 |
<set name="THUMB_INSTRUCTION_SET" value="-mthumb"/> |
|
117 |
<set name="TRANSFORM_CIA" value=""/> |
|
118 |
<set name="UNDEFINED_SYMBOL_REF_OPTION" value="-u"/> |
|
119 |
<set name="UNRESOLVED_SYMBOL_REF_OPTION" value=""/> |
|
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
120 |
<set name="USER_LIBS_PATH_OPTION" value="--userlibpath"/> |
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
121 |
<set name="USER_STATIC_RUNTIME_LIB" value="usrt3_1.lib"/> |
367
28419e56ee8a
Add support for MMP keyword EPOCNESTEDEXCEPTIONS
Stefan Karlsson <stefan.karlsson@nokia.com>
parents:
265
diff
changeset
|
122 |
<set name="USER_STATIC_RUNTIME_LIB_NESTED_EXCEPTIONS" value="usrt_nx_3_1.lib"/> |
3 | 123 |
<set name="USERINCLUDE" value=""/> |
124 |
<set name="VFE_OPTION" value=""/> |
|
265
904ed405cc3f
Apply some (slightly arbitrary) ordering to file content.
Jon Chatten
parents:
263
diff
changeset
|
125 |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
265
diff
changeset
|
126 |
<append name="CDEFS" value="__GCCE__"/> |
3 | 127 |
</var> |
128 |
</build> |