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