599
|
1 |
# Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
# All rights reserved.
|
|
3 |
# This component and the accompanying materials are made available
|
|
4 |
# under the terms of "Eclipse Public License v1.0"
|
|
5 |
# which accompanies this distribution, and is available
|
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
#
|
|
8 |
# Initial Contributors:
|
|
9 |
# Nokia Corporation - initial contribution.
|
|
10 |
#
|
|
11 |
# Contributors:
|
|
12 |
#
|
|
13 |
# Description:
|
|
14 |
# This file provides the definition of variables that are used by the component
|
|
15 |
# specific makefile. This is for the BPABI (Base Platform ABI) platform using the
|
|
16 |
# RVCT compiler.
|
|
17 |
# Path Settings
|
|
18 |
#
|
|
19 |
#
|
|
20 |
|
|
21 |
# Compiler Installation Location
|
|
22 |
CC_INSTALL_PATH=
|
|
23 |
|
|
24 |
#----------------------------------
|
|
25 |
# Programs used from the ToolChain
|
|
26 |
#----------------------------------
|
|
27 |
|
|
28 |
# C++ Compiler
|
|
29 |
CC=armcc
|
|
30 |
|
|
31 |
# Linker
|
|
32 |
LD=armlink
|
|
33 |
|
|
34 |
# Assembler
|
|
35 |
ASM=armasm
|
|
36 |
|
|
37 |
# Archiver
|
|
38 |
AR=armar
|
|
39 |
|
|
40 |
# Translator to translate the GCC inline assembler code
|
|
41 |
TRANASM=tranasm.bat
|
|
42 |
|
|
43 |
#--------------------
|
|
44 |
# Option Prefix
|
|
45 |
#--------------------
|
|
46 |
|
|
47 |
# This value will be used by the backend to segregate one option from the other.
|
|
48 |
# If option prefix is one among '+','*','.'or '?' (these metacharacters have specific predefined meaning
|
|
49 |
# for pattern matching in Perl) then it should be preceded with '\'.
|
|
50 |
OPTION_PREFIX=
|
|
51 |
|
|
52 |
#------------------
|
|
53 |
# Compiler Options
|
|
54 |
#------------------
|
|
55 |
|
|
56 |
# Flag whether the compiler requires Unix slashes for absolute paths
|
|
57 |
UNIX_SLASH_FOR_CC_ABS_PATHS=0
|
|
58 |
|
|
59 |
#-------------------
|
|
60 |
# Debug Mode Options
|
|
61 |
#-------------------
|
|
62 |
|
|
63 |
# Optimization Level in DEBUG mode
|
|
64 |
DEBUG_OPTIMISATION=-O0
|
|
65 |
|
|
66 |
# Option to produce debug information
|
|
67 |
DEBUG_OPTION=-g
|
|
68 |
|
|
69 |
DEBUG_FORMAT_DWARF2=--dwarf2
|
|
70 |
DEBUG_FORMAT_DWARF3=--dwarf3
|
|
71 |
|
|
72 |
# DWARF 2 is default on the ARMV5 build platform.
|
|
73 |
DEBUG_FORMAT=$(DEBUG_FORMAT_DWARF2)
|
|
74 |
|
|
75 |
# Specific compiler options for a UDEB build
|
|
76 |
SYMBIAN_UDEB_CCFLAGS=$(DEBUG_OPTION)
|
|
77 |
|
|
78 |
#-------------------------
|
|
79 |
# Target Processor Options
|
|
80 |
#-------------------------
|
|
81 |
|
|
82 |
# Option to select the appropriate target processor
|
|
83 |
ifeq "$(RVCT_VER_MAJOR)" "2"
|
|
84 |
TARGET_ARCH_OPTION=--cpu 5T
|
|
85 |
else
|
|
86 |
TARGET_ARCH_OPTION=--cpu 5TE
|
|
87 |
endif
|
|
88 |
|
|
89 |
# Option to generate the approproate ARM instruction set.
|
|
90 |
ARM_INSTRUCTION_SET=--arm
|
|
91 |
|
|
92 |
# Option to generate the approproate thumb instruction set.
|
|
93 |
THUMB_INSTRUCTION_SET=--thumb
|
|
94 |
|
|
95 |
# Compiler define for thumb instruction set
|
|
96 |
COMPILER_THUMB_DEFINES=-D__MARM_THUMB__
|
|
97 |
|
|
98 |
# Compiler define for interwork
|
|
99 |
COMPILER_INTERWORK_DEFINES=-D__MARM_INTERWORK__
|
|
100 |
|
|
101 |
# Option to specify the floating point conformance.
|
|
102 |
FPMODE_OPTION=--fpmode ieee_no_fenv
|
|
103 |
|
|
104 |
# Compiler option to select softvfp mode
|
|
105 |
SOFTVFPMODE_OPTION=--fpu softvfp
|
|
106 |
|
|
107 |
# Compiler option to select hardware floating point unit
|
|
108 |
VFP2MODE_OPTION=--fpu vfpv2
|
|
109 |
|
|
110 |
# Option to force all enumerations to be stored in as integers.
|
|
111 |
ENUM_OPTION=--enum_is_int
|
|
112 |
|
|
113 |
# Option to disable the generation of unaligned word and halfword accesses on ARMV6
|
|
114 |
# and ARMV7 processors.
|
|
115 |
ifeq "$(RVCT_VER_MAJOR)" "2"
|
|
116 |
NO_UNALIGNED_ACCESS=--memaccess -UL41
|
|
117 |
else
|
|
118 |
NO_UNALIGNED_ACCESS=--no_unaligned_access
|
|
119 |
endif
|
|
120 |
|
|
121 |
#---------------------------------
|
|
122 |
# Options controlling C++ Features
|
|
123 |
#---------------------------------
|
|
124 |
|
|
125 |
# Option for handling Virtual functions and Virtual Tables
|
|
126 |
EXPORT_VTBL_OPTION=--export_all_vtbl
|
|
127 |
|
|
128 |
# Disables unused virtual function elimination (VFE) in C++ mode. --vfe is the default
|
|
129 |
VFE_OPTION=--no_vfe
|
|
130 |
|
|
131 |
# Option to turn on exception handling
|
|
132 |
EXCEPTIONS=--exceptions --exceptions_unwind
|
|
133 |
NO_EXCEPTIONS=--no_exceptions --no_exceptions_unwind
|
|
134 |
|
|
135 |
#-------------------------------------------------------------------------
|
|
136 |
# Options controlling the ARM Architecture Procedure Call Standard (AAPCS)
|
|
137 |
#-------------------------------------------------------------------------
|
|
138 |
|
|
139 |
# This Option is for ARM Architecture Procedure Call Standard with the
|
|
140 |
# qualifier to support calls between the ARM and Thumb instruction sets.
|
|
141 |
AAPCS_OPTION=--apcs /inter
|
|
142 |
|
|
143 |
#-----------------------------------------------------------
|
|
144 |
# Options controlling generation of Compiler Warnings/Errors
|
|
145 |
#-----------------------------------------------------------
|
|
146 |
|
|
147 |
# Option to control the Compiler warnings
|
|
148 |
CC_WARNINGS_CONTROL_OPTION=--diag_suppress 161,611,654,997,1152,1300,1464,1488,6318,6331,2523
|
|
149 |
|
|
150 |
# Option to control the Compiler warnings for building Standard C++ application
|
|
151 |
CC_STDCPP_WARNINGS_CONTROL_OPTION=--diag_suppress 161,611,654,997,1152,1300,1464,1488,6318,6331
|
|
152 |
|
|
153 |
# Option to suppress the Compiler errors
|
|
154 |
CC_ERRORS_CONTROL_OPTION=--diag_error 1267
|
|
155 |
|
|
156 |
# Option to suppress the Compiler errors for building Standard C++
|
|
157 |
CC_STDCPP_ERRORS_CONTROL_OPTION=--diag_error 1267
|
|
158 |
|
|
159 |
# Option to modify the Compiler warnings and errors for Symbian OS
|
|
160 |
SYMBIAN_CC_MESSAGE_OPTION=$(CC_WARNINGS_CONTROL_OPTION) $(CC_ERRORS_CONTROL_OPTION)
|
|
161 |
|
|
162 |
#-----------------
|
|
163 |
# Optional Options
|
|
164 |
#-----------------
|
|
165 |
|
|
166 |
# Compiler option to avoid the generation of the intermediate files. (Optional)
|
|
167 |
TEMP_FILES_OPTION=
|
|
168 |
|
|
169 |
# Library Option
|
|
170 |
OWN_LIBRARY_OPTION=--library_interface=aeabi_clib
|
|
171 |
|
|
172 |
# Option to generate the Object File
|
|
173 |
COMPILE_ONLY_OPTION=-c
|
|
174 |
|
|
175 |
# Option to generate the Preprocessed File
|
|
176 |
PREPROCESSOR_OPTION=-E
|
|
177 |
|
|
178 |
# Other additional Options to be passed to the compiler
|
|
179 |
EXTRA_CC_OPTION=
|
|
180 |
|
|
181 |
#---------------------
|
|
182 |
# Preprocessor Options
|
|
183 |
#---------------------
|
|
184 |
|
|
185 |
# Prefix Header File passed to the preprocessor
|
|
186 |
PREFIXFILE=$(EPOCROOT)epoc32\include\rvct\rvct.h
|
|
187 |
|
|
188 |
# For .cpp Source files
|
|
189 |
CPP_LANG_OPTION=--cpp
|
|
190 |
|
|
191 |
# For .c Source files
|
|
192 |
C_LANG_OPTION=--c90
|
|
193 |
|
|
194 |
# For .cia Source files
|
|
195 |
CIA_LANG_OPTION=--cpp -D__CIA__
|
|
196 |
|
|
197 |
#-------------------
|
|
198 |
# Assembler Options
|
|
199 |
#-------------------
|
|
200 |
|
|
201 |
# Option to generate the Assembler instructions
|
|
202 |
ASSEMBLER_LISTING_OPTION=-S --interleave
|
|
203 |
|
|
204 |
# Output option used to pass the output file name
|
|
205 |
ASM_OUTPUT_OPTION=-o
|
|
206 |
|
|
207 |
#------------------
|
|
208 |
# Translator Options
|
|
209 |
#------------------
|
|
210 |
|
|
211 |
# Flags to be passed to the translator
|
|
212 |
TRANASM_FLAGS=-n -s
|
|
213 |
|
|
214 |
# Output option used to pass the output file name
|
|
215 |
TRANASM_OUTPUT_OPTION=-o=
|
|
216 |
|
|
217 |
# Input option used to pass the input file name
|
|
218 |
TRANASM_INPUT_OPTION=
|
|
219 |
|
|
220 |
#---------------------------
|
|
221 |
# Include Options and Files
|
|
222 |
#---------------------------
|
|
223 |
|
|
224 |
# Option to specify the location of the header files
|
|
225 |
INCLUDE_OPTION=-J
|
|
226 |
|
|
227 |
# Preinclude file for that compiler that contains all the compiler specific definitions
|
|
228 |
# required by the Symbian OS source code.
|
|
229 |
PREINCLUDE_OPTION=--preinclude $(EPOCROOT)epoc32\include\rvct\rvct.h
|
|
230 |
|
|
231 |
# Include options required by Function Call Logger
|
|
232 |
FC_LOGGER_INCLUDE_OPTION=-I
|
|
233 |
FC_LOGGER_DICTIONARY_FILE_NAME=--dictionary_file_name
|
|
234 |
FC_LOGGER_GENERATED_C_FILE_NAME=--gen_c_file_name
|
|
235 |
|
|
236 |
# Preinclude file to be passed to the Function Call Logger which uses EDG compiler
|
|
237 |
#PREINCLUDE_OPTION_FCLOGGER=$(FC_LOGGER_INCLUDE_OPTION) $(EPOCROOT)EPOC32\INCLUDE\RVCT --preinclude edg_rvct2_2.h
|
|
238 |
|
|
239 |
# Option to control the search for the header files. For example, if we do not want to do a search in the
|
|
240 |
# standard include directory of C++, then can restrict it by providing the appropriate option.
|
|
241 |
HEADER_FILES_CONTROL_OPTION=
|
|
242 |
|
|
243 |
# Path to pick the header files from the Compiler installation directory
|
|
244 |
COMPILER_INCLUDE_PATH=
|
|
245 |
|
|
246 |
# Fetches the version of the tools from the installation directory
|
|
247 |
VERSION_OPTION=
|
|
248 |
VERSION_INFO=
|
|
249 |
|
|
250 |
#---------------------
|
|
251 |
# Release Mode Options
|
|
252 |
#---------------------
|
|
253 |
|
|
254 |
# Optimization Level in RELEASE mode
|
|
255 |
REL_OPTIMISATION=-O2
|
|
256 |
|
|
257 |
# Specific compiler options for a UREL build
|
|
258 |
SYMBIAN_UREL_CCFLAGS=
|
|
259 |
|
|
260 |
#---------------------------------
|
|
261 |
# Symbol Attribute Setting Options
|
|
262 |
#---------------------------------
|
|
263 |
|
|
264 |
# Option to set the visibility of runtime symbols as DEFAULT (instead of HIDDEN)
|
|
265 |
RUNTIME_SYMBOL_VISIBILITY_OPTION=--dllimport_runtime
|
|
266 |
|
|
267 |
# Option to specify the output of the toolchain
|
|
268 |
OUTPUT_OPTION=-o
|
|
269 |
|
|
270 |
# Options to be passed when building System Target(kernel)
|
|
271 |
KERNEL_OPTIONS=$(ARM_INSTRUCTION_SET) $(NO_EXCEPTIONS)
|
|
272 |
|
|
273 |
# Options to be passed when building in Arm mode
|
|
274 |
ARM_OPTIONS=$(ARM_INSTRUCTION_SET)
|
|
275 |
|
|
276 |
# Options to be passed when building in Thumb mode
|
|
277 |
THUMB_OPTIONS=$(THUMB_INSTRUCTION_SET)
|
|
278 |
|
|
279 |
# Common compiler options for Arm and Thumb mode
|
|
280 |
COMMON_OPTIONS=$(DEBUG_FORMAT) $(SYMBIAN_CC_MESSAGE_OPTION)
|
|
281 |
|
|
282 |
# Invariant Options which cannot be modified by the user from MMP file
|
|
283 |
INVARIANT_OPTIONS= $(TARGET_ARCH_OPTION) $(ENUM_OPTION) $(OWN_LIBRARY_OPTION) $(FPMODE_OPTION) $(EXPORT_VTBL_OPTION) $(VFE_OPTION) $(AAPCS_OPTION)
|
|
284 |
|
|
285 |
# Common compiler options for compiling programs targeted at Symbian OS
|
|
286 |
#CCFLAGS=$(SYMBIAN_CC_MESSAGE_OPTION) $(EXCEPTIONS) $(TARGET_ARCH_OPTION) $(ENUM_OPTION) $(OWN_LIBRARY_OPTION) $(FPMODE_OPTION) $(EXPORT_VTBL_OPTION) $(VFE_OPTION) $(AAPCS_OPTION) $(TEMP_FILES_OPTION) $(HEADER_FILES_CONTROL_OPTION) $(COMPILE_ONLY_OPTION) $(EXTRA_CC_OPTION)
|
|
287 |
CCFLAGS=$(COMMON_OPTIONS) $(INVARIANT_OPTIONS) $(TEMP_FILES_OPTION) $(HEADER_FILES_CONTROL_OPTION) $(COMPILE_ONLY_OPTION) $(EXTRA_CC_OPTION)
|
|
288 |
|
|
289 |
#------------------
|
|
290 |
# Linker Options
|
|
291 |
#------------------
|
|
292 |
|
|
293 |
# Output option used to pass the output file name
|
|
294 |
LINKER_OUTPUT_OPTION=-o
|
|
295 |
|
|
296 |
# Option to generate debug information
|
|
297 |
LINKER_DEBUG_OPTION=--debug
|
|
298 |
|
|
299 |
# Option to *not* generate debug information.
|
|
300 |
LINKER_NODEBUG_OPTION=
|
|
301 |
|
|
302 |
#--------------------------------------------------------------
|
|
303 |
# Options to generate executables conforming to BPABI standards
|
|
304 |
#--------------------------------------------------------------
|
|
305 |
|
|
306 |
# Option to generate an executable conforming to the Base Platform ABI for the ARM Architecture
|
|
307 |
BPABI_OPTION=--bpabi
|
|
308 |
|
|
309 |
# The `R_ARM_TARGET1' relocation is typically used for entries in the `.init_array' section. It is
|
|
310 |
# interpreted as either `R_ARM_REL32' or `R_ARM_ABS32', depending on the target. The following option
|
|
311 |
# override the default export relocations.
|
|
312 |
TARGET_RELOCATION_OPTION=
|
|
313 |
|
|
314 |
#-------------------------------------
|
|
315 |
# Options to specify the output format
|
|
316 |
#-------------------------------------
|
|
317 |
|
|
318 |
# Option to create a relocatable ELF image. A relocatable image has a dynamic segment that contains
|
|
319 |
# relocations that can be used to relocate the image post link-time.
|
|
320 |
RELOCATABLE_IMAGE_OPTION=
|
|
321 |
|
|
322 |
# Option to create an ELF shared object.
|
|
323 |
SHARED_OBJECT_OPTION=--dll
|
|
324 |
|
|
325 |
#-------------------------------------------
|
|
326 |
# Options to set the Start of RO/RW sections
|
|
327 |
#-------------------------------------------
|
|
328 |
|
|
329 |
# Option to set the start of the code section (RO Region)
|
|
330 |
CODE_SEGMENT_START=
|
|
331 |
|
|
332 |
# Option to split object into RO and RW sections
|
|
333 |
SPLIT_OPTION=
|
|
334 |
|
|
335 |
# Option to set the start of the Data section (RW region)
|
|
336 |
RW_BASE_OPTION=--rw-base
|
|
337 |
|
|
338 |
# Option to be passed to the linker to set the start of the data section (RW region)
|
|
339 |
DATA_SEGMENT_START=$(SPLIT_OPTION) $(RW_BASE_OPTION)
|
|
340 |
|
|
341 |
#---------------------------------------------------------
|
|
342 |
# Options controlling generation of Linker Warnings/Errors
|
|
343 |
#---------------------------------------------------------
|
|
344 |
|
|
345 |
# Option to control the Linker warnings
|
|
346 |
LD_WARNINGS_CONTROL_OPTION=--diag_suppress 6331,6780
|
|
347 |
|
|
348 |
# Option to suppress the Linker errors
|
|
349 |
LD_ERRORS_CONTROL_OPTION=
|
|
350 |
|
|
351 |
# Option to modify the Linker warnings and errors for Symbian OS
|
|
352 |
SYMBIAN_LD_MESSAGE_OPTION=$(LD_WARNINGS_CONTROL_OPTION) $(LD_ERRORS_CONTROL_OPTION)
|
|
353 |
|
|
354 |
# Option to specify whether unresolved symbol references from regular object files can be allowed or not.
|
|
355 |
UNRESOLVED_SYMBOL_REF_OPTION=
|
|
356 |
|
|
357 |
# Option to specify the undefined reference
|
|
358 |
UNDEFINED_SYMBOL_REF_OPTION=
|
|
359 |
|
|
360 |
# Other additional Options to be passed to the Linker
|
|
361 |
EXTRA_LD_OPTION=--datacompressor=off
|
|
362 |
|
|
363 |
ifeq "$(RVCT_VER_MAJOR)" "3"
|
|
364 |
# Without this linker option, objects with ".directive" sections (i.e. objects
|
|
365 |
# created by RVCT 2.2) will cause problems.
|
|
366 |
EXTRA_LD_OPTION += --export_all
|
|
367 |
endif
|
|
368 |
|
|
369 |
#-------------------
|
|
370 |
#Entry Point Options
|
|
371 |
#-------------------
|
|
372 |
|
|
373 |
# Option to pass the explicit symbol for beginning execution of the program
|
|
374 |
LINKER_ENTRY_OPTION=--entry
|
|
375 |
|
|
376 |
# Symbol used to denote the Start of the grouped archives.
|
|
377 |
START_GROUP_SYMBOL=(
|
|
378 |
|
|
379 |
# Symbol used to denote the End of the grouped archives.
|
|
380 |
END_GROUP_SYMBOL=)
|
|
381 |
|
|
382 |
#-------------------------
|
|
383 |
# Library Specific Options
|
|
384 |
#-------------------------
|
|
385 |
|
|
386 |
# Option to control the search in the standard libraries
|
|
387 |
STDLIB_OPTION=--no_scanlib
|
|
388 |
|
|
389 |
# Additional static libraries that should automatically be supplied to the linker.
|
|
390 |
ifeq "$(RVCT_VER_MAJOR)" "2"
|
|
391 |
STATIC_LIBS_LIST=armlib\h_t__uf.l(switch8.o)
|
|
392 |
else
|
|
393 |
STATIC_LIBS_LIST=armlib\h_5.l(switch8.o)
|
|
394 |
endif
|
|
395 |
|
|
396 |
# Option to pass the path from where the runtime libraries should be picked up
|
|
397 |
STATIC_LIBS_PATH=--libpath
|
|
398 |
|
|
399 |
# Fetches the library path from the installation directory
|
|
400 |
STATIC_LIBRARY_PATH=
|
|
401 |
STATIC_LIBS=
|
|
402 |
|
|
403 |
# Additional runtime libraries that should be supplied to the linker.
|
|
404 |
RTVER:=$(RVCT_VER_MAJOR)_$(RVCT_VER_MINOR)
|
|
405 |
RUNTIME_LIBS_LIST=drtaeabi.dso dfpaeabi.dso dfprvct$(RTVER).dso drtrvct$(RTVER).dso
|
|
406 |
|
|
407 |
|
|
408 |
# The library that contains operator new and operator delete.
|
|
409 |
SYM_NEW_LIB=scppnwdl.dso
|
|
410 |
|
|
411 |
# Option to pass the path from where the runtime libraries should be picked up
|
|
412 |
RUNTIME_LIBS_PATH=
|
|
413 |
|
|
414 |
# Option to turn on implicit symbol versioning
|
|
415 |
SYMVER_OPTION=--symver_soname
|
|
416 |
|
|
417 |
# Option to specify the shared object name that is stored in the executable
|
|
418 |
SO_NAME_OPTION=--soname
|
|
419 |
|
|
420 |
# Option to generate the map file that provides information about the linking
|
|
421 |
LINKER_SYMBOLS_OPTION=--symbols
|
|
422 |
|
|
423 |
# Option to specify the Symbols file
|
|
424 |
LINKER_SYMBOLS_FILE_OPTION=--list
|
|
425 |
|
|
426 |
# Option to produce the Map file that provides information about linking
|
|
427 |
LINKER_SYMBOLS_MAP_OPTION=$(LINKER_SYMBOLS_OPTION) $(LINKER_SYMBOLS_FILE_OPTION)
|
|
428 |
|
|
429 |
# Option to specify the linker script file
|
|
430 |
LINKER_SCRIPT_FILE_OPTION=
|
|
431 |
|
|
432 |
#Via file prefixes
|
|
433 |
VIA_FILE_PREFIX=
|
|
434 |
VIA_FILE_SUFFIX=
|
|
435 |
|
|
436 |
# option to take object file names from other(via) file, here in case of ARMV5 it is necessary to specify space after the "--via " option.
|
|
437 |
COMMANDFILE_OPTION:=--via
|
|
438 |
|
|
439 |
# Linker options which can be customized from BSF
|
|
440 |
LD_OPTIONS=$(SYMBIAN_LD_MESSAGE_OPTION)$(UNRESOLVED_SYMBOL_REF_OPTION) $(STDLIB_OPTION) $(EXTRA_LD_OPTION)
|
|
441 |
|
|
442 |
# Linker option common to all link commands for UREL build
|
|
443 |
SYMBIAN_UREL_LINK_FLAGS=$(BPABI_OPTION) $(RELOCATABLE_IMAGE_OPTION) $(TARGET_RELOCATION_OPTION) $(LD_OPTIONS)
|
|
444 |
|
|
445 |
# Linker option common to all link commands for UDEB build
|
|
446 |
SYMBIAN_UDEB_LINK_FLAGS=$(BPABI_OPTION) $(RELOCATABLE_IMAGE_OPTION) $(TARGET_RELOCATION_OPTION) $(LD_OPTIONS)
|
|
447 |
|
|
448 |
|
|
449 |
#-----------------
|
|
450 |
# Archiver Options
|
|
451 |
#-----------------
|
|
452 |
|
|
453 |
# ARCHIVER variable should be set since there is a dependency for this variable in e32test.
|
|
454 |
ARCHIVER= $(AR)
|
|
455 |
|
|
456 |
ARCHIVER_CREATE_OPTION=--create
|
|
457 |
|
|
458 |
# Archiver options which can be set from BSF files
|
|
459 |
AR_OPTIONS=
|
|
460 |
|
|
461 |
#--------------------------------------
|
|
462 |
# Compiler and Platform specific macros
|
|
463 |
#--------------------------------------
|
|
464 |
|
|
465 |
# Macro definitions required to identify the compiler. Allows for conditional compilation based on compiler
|
|
466 |
PLATFORM_DEFINES=
|
|
467 |
|
|
468 |
COMPILER_DEFINES=
|
|
469 |
|
|
470 |
# Compiler target option
|
|
471 |
COMPILER_PLAT=ARMCC
|
|
472 |
|
|
473 |
#--------------------------------------
|
|
474 |
# Function Call Logger Options
|
|
475 |
#--------------------------------------
|
|
476 |
FC_LOGGER_OPTION=--wchar_t_keyword --microsoft_version=1300 --diag_suppress 66,161,611,654,815,830,997,1152,1300,1390
|
|
477 |
|
|
478 |
# Defines for Function Call Logger
|
|
479 |
FC_LOGGER_DEFINES=-D__ARMCC_VERSION=220435
|
|
480 |
|
|
481 |
#------------
|
|
482 |
# OE Options
|
|
483 |
#------------
|
|
484 |
|
|
485 |
# Options to export all the globol symbols and import undefined references, required by OE
|
|
486 |
OE_OPTIONS=--no_hide_all
|
|
487 |
|
|
488 |
# OE Glue code libs
|
|
489 |
OE_EXE_LIBS=libcrt0.lib
|
|
490 |
OE_EXE_LIBS_WCHAR=libwcrt0.lib
|
|
491 |
|
|
492 |
# OE Import Libs
|
|
493 |
OE_IMPORT_LIBS=euser.lib
|
|
494 |
|
|
495 |
# The library that contains operator new and operator delete.
|
|
496 |
OE_NEW_LIB=stdnew.dso
|
|
497 |
|
|
498 |
#-----------------------------------------------------------------------------------------------------
|
|
499 |
#This section defines the interface with Symbian tools
|
|
500 |
#This SHOULD NOT be changed as any changes in this section will not be picked up by the tools back end
|
|
501 |
#-----------------------------------------------------------------------------------------------------
|
|
502 |
|
|
503 |
# Programs used from the ToolChain
|
|
504 |
export CC
|
|
505 |
export LD
|
|
506 |
export ASM
|
|
507 |
export AR
|
|
508 |
export TRANASM
|
|
509 |
|
|
510 |
# Preprocessor Options
|
|
511 |
export PREFIXFILE
|
|
512 |
export CPP_LANG_OPTION
|
|
513 |
export C_LANG_OPTION
|
|
514 |
export CIA_LANG_OPTION
|
|
515 |
|
|
516 |
# Option Prefix
|
|
517 |
export OPTION_PREFIX
|
|
518 |
|
|
519 |
# Compiler Options
|
|
520 |
export PREPROCESSOR_OPTION
|
|
521 |
export ASSEMBLER_LISTING_OPTION
|
|
522 |
export ASM_OUTPUT_OPTION
|
|
523 |
export INCLUDE_OPTION
|
|
524 |
export PREINCLUDE_OPTION
|
|
525 |
export HEADER_FILES_CONTROL_OPTION
|
|
526 |
export COMPILER_INCLUDE_PATH
|
|
527 |
export SYMBIAN_UREL_CCFLAGS
|
|
528 |
export SYMBIAN_UDEB_CCFLAGS
|
|
529 |
export REL_OPTIMISATION
|
|
530 |
export DEBUG_OPTIMISATION
|
|
531 |
export ARM_OPTIONS
|
|
532 |
export THUMB_OPTIONS
|
|
533 |
export COMMON_OPTIONS
|
|
534 |
export INVARIANT_OPTIONS
|
|
535 |
export KERNEL_OPTIONS
|
|
536 |
export COMPILER_THUMB_DEFINES
|
|
537 |
export COMPILER_INTERWORK_DEFINES
|
|
538 |
export SOFTVFPMODE_OPTION
|
|
539 |
export VFP2MODE_OPTION
|
|
540 |
export RUNTIME_SYMBOL_VISIBILITY_OPTION
|
|
541 |
export OUTPUT_OPTION
|
|
542 |
export CCFLAGS
|
|
543 |
export UNIX_SLASH_FOR_CC_ABS_PATH
|
|
544 |
export EXCEPTIONS
|
|
545 |
export NO_EXCEPTIONS
|
|
546 |
export VERSION_INFO
|
|
547 |
export NO_UNALIGNED_ACCESS
|
|
548 |
export DEBUG_FORMAT
|
|
549 |
|
|
550 |
# Linker Options
|
|
551 |
export LINKER_OUTPUT_OPTION
|
|
552 |
export LINKER_DEBUG_OPTION
|
|
553 |
export LINKER_NODEBUG_OPTION
|
|
554 |
export CODE_SEGMENT_START
|
|
555 |
export DATA_SEGMENT_START
|
|
556 |
export UNDEFINED_SYMBOL_REF_OPTION
|
|
557 |
export LINKER_ENTRY_OPTION
|
|
558 |
export START_GROUP_SYMBOL
|
|
559 |
export END_GROUP_SYMBOL
|
|
560 |
export SHARED_OBJECT_OPTION
|
|
561 |
export STDLIB_OPTION
|
|
562 |
export STATIC_LIBS_LIST
|
|
563 |
export STATIC_LIBS_PATH
|
|
564 |
export STATIC_LIBRARY_PATH
|
|
565 |
export STATIC_LIBS
|
|
566 |
export RUNTIME_LIBS_LIST
|
|
567 |
export SYM_NEW_LIB
|
|
568 |
export RUNTIME_LIBS_PATH
|
|
569 |
export SYMVER_OPTION
|
|
570 |
export SO_NAME_OPTION
|
|
571 |
export LINKER_SYMBOLS_MAP_OPTION
|
|
572 |
export COMMANDFILE_OPTION
|
|
573 |
export VIA_FILE_PREFIX
|
|
574 |
export VIA_FILE_SUFFIX
|
|
575 |
export SYMBIAN_UREL_LINK_FLAGS
|
|
576 |
export SYMBIAN_UDEB_LINK_FLAGS
|
|
577 |
export LD_OPTIONS
|
|
578 |
|
|
579 |
# Archiver Options
|
|
580 |
export ARCHIVER
|
|
581 |
export ARCHIVER_CREATE_OPTION
|
|
582 |
export AR_OPTIONS
|
|
583 |
|
|
584 |
# Compiler Specific Defines
|
|
585 |
export COMPILER_DEFINES
|
|
586 |
export COMPILER_PLAT
|
|
587 |
|
|
588 |
# Platform Specific Defines
|
|
589 |
export PLATFORM_DEFINES
|
|
590 |
|
|
591 |
# Translator Options
|
|
592 |
export TRANASM_FLAGS
|
|
593 |
export TRANASM_OUTPUT_OPTION
|
|
594 |
export TRANASM_INPUT_OPTION
|
|
595 |
|
|
596 |
# Function Call Logger options
|
|
597 |
export PREINCLUDE_OPTION_FCLOGGER
|
|
598 |
export FC_LOGGER_OPTION
|
|
599 |
export FC_LOGGER_DEFINES
|
|
600 |
export FC_LOGGER_INCLUDE_OPTION
|
|
601 |
export FC_LOGGER_DICTIONARY_FILE_NAME
|
|
602 |
export FC_LOGGER_GENERATED_C_FILE_NAME
|
|
603 |
|
|
604 |
#OE Options
|
|
605 |
export OE_OPTIONS
|
|
606 |
export OE_EXE_LIBS
|
|
607 |
export OE_EXE_LIBS_WCHAR
|
|
608 |
export OE_IMPORT_LIBS
|
|
609 |
export OE_NEW_LIB
|
|
610 |
|
|
611 |
#-----------------------------------------------------------------------------------------------------
|
|
612 |
|