sbsv1_os/e32toolp/platform/GCCE.mk
changeset 0 83f4b4db085c
child 1 d4b442d23379
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     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 specific makefile
       
    15 # This is for the BPABI (Base Platform ABI) platform using the GCCE compiler.
       
    16 # Functions added as the part of Plugin Architecture
       
    17 # 
       
    18 #
       
    19 
       
    20 #function to find the include path
       
    21 define find-inc-path
       
    22 	$(subst /bin/../,/,$(subst libgcc.a,%,$(shell $(CC) -print-libgcc-file-name)))
       
    23 endef
       
    24 
       
    25 #function to find the installation path
       
    26 define find_install_path
       
    27 	$(subst /bin/../lib/gcc/arm-none-symbianelf/3.4.3,,$(subst libgcc.a,,$(shell $(CC) -print-libgcc-file-name)))
       
    28 endef
       
    29 
       
    30 #function to include the version info
       
    31 define find-version-info
       
    32 $(strip $(shell $(CC) $(VERSION_OPTION)))
       
    33 endef
       
    34 
       
    35 #function to find the library path
       
    36 #function to determine the libgcc path
       
    37 define find-gcclib-path
       
    38 	"$(patsubst %libgcc.a,%,$(shell $(CC) -print-libgcc-file-name))"
       
    39 endef
       
    40 
       
    41 #function to determine the libsupc++ path
       
    42 define find-libsupc-path
       
    43 	"$(patsubst %/libsupc++.a,%,$(shell $(CC) -print-file-name=libsupc++.a))"
       
    44 endef
       
    45 
       
    46 #---------------
       
    47 # Path Settings
       
    48 #---------------
       
    49 
       
    50 # Compiler Installation Location
       
    51 CC_INSTALL_PATH=$(strip $(call find_install_path))
       
    52 
       
    53 #----------------------------------
       
    54 # Programs used from the ToolChain
       
    55 #----------------------------------
       
    56 
       
    57 # C++ Compiler
       
    58 CC=arm-none-symbianelf-g++
       
    59 
       
    60 # Linker
       
    61 LD=arm-none-symbianelf-ld
       
    62 
       
    63 # Assembler
       
    64 ASM=arm-none-symbianelf-as
       
    65 
       
    66 # Archiver
       
    67 AR=arm-none-symbianelf-ar
       
    68 
       
    69 # Translator to translate the GCC inline assembler code
       
    70 TRANASM=
       
    71 
       
    72 #--------------------
       
    73 # Option Prefix
       
    74 #--------------------
       
    75 
       
    76 # This value will be used by the backend to segregate one option from the other.
       
    77 # If option prefix is one among '+','*','.'or '?' (these metacharacters have specific predefined meaning 
       
    78 # for pattern matching in Perl) then it should be preceded with '\'.
       
    79 OPTION_PREFIX=
       
    80 
       
    81 #------------------
       
    82 # Compiler Options
       
    83 #------------------
       
    84 
       
    85 # Flag whether the compiler requires Unix slashes for absolute paths
       
    86 UNIX_SLASH_FOR_CC_ABS_PATHS=1
       
    87 
       
    88 #-------------------
       
    89 # Debug Mode Options
       
    90 #-------------------
       
    91 
       
    92 # Optimization Level in DEBUG mode
       
    93 DEBUG_OPTIMISATION=
       
    94 
       
    95 # Option to produce debug information:
       
    96 #   -g1: little information.
       
    97 #   -g2: more information.
       
    98 #   -g : same as -g2.
       
    99 #   -g3: maximum amount of information. For example, at this level information
       
   100 #        about macros is created.
       
   101 DEBUG_OPTION=-g3
       
   102 
       
   103 # Option to set the debug format.
       
   104 #
       
   105 # GCC doesn't support the full DWARF3 format.
       
   106 DEBUG_FORMAT:=-gdwarf-2
       
   107 
       
   108 # Specific compiler options for a UDEB build
       
   109 SYMBIAN_UDEB_CCFLAGS= $(DEBUG_OPTION) $(DEBUG_FORMAT)
       
   110 
       
   111 #-------------------------
       
   112 # Target Processor Options 
       
   113 #-------------------------
       
   114 
       
   115 # Option to select the appropriate target processor
       
   116 TARGET_ARCH_OPTION=-march=armv5t
       
   117 
       
   118 # Option to generate the approproate ARM instruction set.
       
   119 ARM_INSTRUCTION_SET=-marm
       
   120 
       
   121 # Option to generate the approproate thumb instruction set.
       
   122 THUMB_INSTRUCTION_SET=-mthumb
       
   123 
       
   124 # Compiler define for thumb instruction set
       
   125 COMPILER_THUMB_DEFINES=-D__MARM_THUMB__
       
   126 
       
   127 # Compiler define for interwork
       
   128 COMPILER_INTERWORK_DEFINES=-D__MARM_INTERWORK__
       
   129 
       
   130 # Option to specify the floating point conformance. 
       
   131 FPMODE_OPTION=
       
   132 
       
   133 # Compiler option to select softvfp mode
       
   134 SOFTVFPMODE_OPTION=-msoft-float
       
   135 
       
   136 # Compiler option to select hardware floating point unit
       
   137 VFP2MODE_OPTION=
       
   138 
       
   139 # Option to force all enumerations to be stored in as integers. 
       
   140 ENUM_OPTION=
       
   141 
       
   142 #---------------------------------
       
   143 # Options controlling C++ Features
       
   144 #---------------------------------
       
   145 
       
   146 # Option for handling Virtual functions and Virtual Tables
       
   147 EXPORT_VTBL_OPTION=
       
   148 
       
   149 # Disables unused virtual function elimination (VFE) in C++ mode. --vfe is the default
       
   150 VFE_OPTION= 
       
   151 
       
   152 # Option to turn on exception handling
       
   153 EXCEPTIONS=-fexceptions
       
   154 NO_EXCEPTIONS=-fno-exceptions
       
   155 
       
   156 #-------------------------------------------------------------------------
       
   157 # Options controlling the ARM Architecture Procedure Call Standard (AAPCS)
       
   158 #-------------------------------------------------------------------------
       
   159 
       
   160 # This Option is for ARM Architecture Procedure Call Standard with the 
       
   161 # qualifier to support calls between the ARM and Thumb instruction sets.
       
   162 AAPCS_OPTION=-mapcs -mthumb-interwork
       
   163 
       
   164 #-----------------------------------------------------------
       
   165 # Options controlling generation of Compiler Warnings/Errors 
       
   166 #-----------------------------------------------------------
       
   167 
       
   168 # Option to control the Compiler warnings
       
   169 CC_WARNINGS_CONTROL_OPTION=-Wall -Wno-unknown-pragmas
       
   170 
       
   171 # Option to control the Compiler warnings for building Standard C++ application
       
   172 CC_STDCPP_WARNINGS_CONTROL_OPTION=-Wall -Wno-unknown-pragmas
       
   173 
       
   174 # Option to suppress the Compiler errors
       
   175 CC_ERRORS_CONTROL_OPTION=
       
   176 
       
   177 # Option to suppress the Compiler errors for building Standard C++
       
   178 CC_STDCPP_ERRORS_CONTROL_OPTION=
       
   179 
       
   180 # Option to modify the Compiler warnings and errors for Symbian OS
       
   181 SYMBIAN_CC_MESSAGE_OPTION=$(CC_WARNINGS_CONTROL_OPTION) $(CC_ERRORS_CONTROL_OPTION)
       
   182 
       
   183 #-----------------
       
   184 # Optional Options
       
   185 #-----------------
       
   186 
       
   187 # Compiler option to avoid the generation of the intermediate files. (Optional)
       
   188 TEMP_FILES_OPTION=-pipe
       
   189 
       
   190 # Library Option
       
   191 OWN_LIBRARY_OPTION=
       
   192 
       
   193 # Option to generate the Object File
       
   194 COMPILE_ONLY_OPTION=-c
       
   195 
       
   196 # Option to generate the Preprocessed File
       
   197 PREPROCESSOR_OPTION=-E
       
   198 
       
   199 # Other additional Options to be passed to the compiler
       
   200 EXTRA_CC_OPTION=
       
   201 
       
   202 #---------------------
       
   203 # Preprocessor Options
       
   204 #---------------------
       
   205 
       
   206 # Prefix Header File passed to the preprocessor
       
   207 PREFIXFILE=$(EPOCROOT)EPOC32\INCLUDE\GCCE\GCCE.h
       
   208 
       
   209 # For .cpp Source files
       
   210 CPP_LANG_OPTION=-x c++ -Wno-ctor-dtor-privacy
       
   211 
       
   212 # For .c Source files
       
   213 C_LANG_OPTION=-x c
       
   214 
       
   215 # For .cia Source files
       
   216 CIA_LANG_OPTION=-x c++ -S -Wa,-adln
       
   217 
       
   218 #-------------------
       
   219 # Assembler Options
       
   220 #-------------------
       
   221 
       
   222 # Option to generate the Assembler instructions
       
   223 ASSEMBLER_LISTING_OPTION=-S
       
   224 
       
   225 # Output option used to pass the output file name
       
   226 ASM_OUTPUT_OPTION=-o
       
   227 
       
   228 #------------------
       
   229 # Translator Options
       
   230 #------------------
       
   231 
       
   232 # Flags to be passed to the translator
       
   233 TRANASM_FLAGS=-n -s 
       
   234 
       
   235 # Output option used to pass the output file name
       
   236 TRANASM_OUTPUT_OPTION=-o=
       
   237 
       
   238 # Input option used to pass the input file name
       
   239 TRANASM_INPUT_OPTION=
       
   240 
       
   241 #---------------------------
       
   242 # Include Options and Files
       
   243 #---------------------------
       
   244 
       
   245 # Option to specify the location of the header files
       
   246 INCLUDE_OPTION=-I
       
   247 
       
   248 # Preinclude file for that compiler that contains all the compiler specific definitions
       
   249 # required by the Symbian OS source code.
       
   250 PREINCLUDE_OPTION=-include $(EPOCROOT)EPOC32/INCLUDE/GCCE/GCCE.h
       
   251 
       
   252 # Include options required by Function Call Logger  
       
   253 FC_LOGGER_INCLUDE_OPTION=-I
       
   254 FC_LOGGER_DICTIONARY_FILE_NAME=--dictionary_file_name
       
   255 FC_LOGGER_GENERATED_C_FILE_NAME=--gen_c_file_name
       
   256 
       
   257 # Preinclude file to be passed to the Function Call Logger which uses EDG compiler 
       
   258 PREINCLUDE_OPTION_FCLOGGER=$(FC_LOGGER_INCLUDE_OPTION) $(EPOCROOT)EPOC32/INCLUDE/GCCE --preinclude edg_gcce.h
       
   259 
       
   260 # Option to control the search for the header files. For example, if we do not want to do a search in the
       
   261 # standard include directory of C++, then can restrict it by providing the appropriate option.
       
   262 HEADER_FILES_CONTROL_OPTION=-nostdinc
       
   263 
       
   264 # Path to pick the header files from the Compiler installation directory
       
   265 COMPILER_INCLUDE_PATH=$(call find-inc-path)include
       
   266 
       
   267 # Fetches the version of the tools from the installation directory
       
   268 VERSION_OPTION=-dumpversion
       
   269 VERSION_INFO:=$(call find-version-info)
       
   270 
       
   271 GCC_MAJOR:=$(word 1,$(subst ., , $(VERSION_INFO)))
       
   272 GCC_MINOR:=$(word 2,$(subst ., , $(VERSION_INFO)))
       
   273 
       
   274 #---------------------
       
   275 # Release Mode Options
       
   276 #---------------------
       
   277 
       
   278 # Optimization Level in RELEASE mode
       
   279 REL_OPTIMISATION=-O2 -fno-unit-at-a-time
       
   280 
       
   281 # Specific compiler options for a UREL build
       
   282 SYMBIAN_UREL_CCFLAGS=
       
   283 
       
   284 #---------------------------------
       
   285 # Symbol Attribute Setting Options
       
   286 #---------------------------------
       
   287 
       
   288 # Option to set the visibility of runtime symbols as DEFAULT (instead of HIDDEN)
       
   289 RUNTIME_SYMBOL_VISIBILITY_OPTION=
       
   290 
       
   291 # Option to specify the output of the toolchain
       
   292 OUTPUT_OPTION=-o
       
   293 
       
   294 # Options to be passed when building System Target(kernel)
       
   295 KERNEL_OPTIONS=$(ARM_INSTRUCTION_SET) $(NO_EXCEPTIONS)
       
   296 
       
   297 # Options to be passed when building in Arm mode
       
   298 ARM_OPTIONS=$(ARM_INSTRUCTION_SET)
       
   299 
       
   300 # Options to be passed when building in Thumb mode
       
   301 THUMB_OPTIONS=$(THUMB_INSTRUCTION_SET)
       
   302 
       
   303 # Common compiler options for Arm and Thumb mode
       
   304 COMMON_OPTIONS=$(SYMBIAN_CC_MESSAGE_OPTION)
       
   305 
       
   306 # Invariant Options which cannot be modified by the user from MMP file
       
   307 INVARIANT_OPTIONS= $(TARGET_ARCH_OPTION) $(ENUM_OPTION) $(OWN_LIBRARY_OPTION) $(FPMODE_OPTION) $(EXPORT_VTBL_OPTION) $(VFE_OPTION) $(AAPCS_OPTION)
       
   308 
       
   309 # Common compiler options for compiling programs targeted at Symbian OS
       
   310 CCFLAGS=$(COMMON_OPTIONS)  $(INVARIANT_OPTIONS) $(TEMP_FILES_OPTION) $(HEADER_FILES_CONTROL_OPTION) $(COMPILE_ONLY_OPTION) $(EXTRA_CC_OPTION)
       
   311 
       
   312 #------------------
       
   313 # Linker Options
       
   314 #------------------
       
   315 
       
   316 # Output option used to pass the output file name
       
   317 LINKER_OUTPUT_OPTION=-o
       
   318 
       
   319 # Option to generate debug information
       
   320 LINKER_DEBUG_OPTION=
       
   321 
       
   322 # Option to *not* generate debug information.
       
   323 LINKER_NODEBUG_OPTION=--strip-debug
       
   324 
       
   325 #--------------------------------------------------------------
       
   326 # Options to generate executables conforming to BPABI standards
       
   327 #--------------------------------------------------------------
       
   328 
       
   329 # Option to generate an executable conforming to the Base Platform ABI for the ARM Architecture
       
   330 BPABI_OPTION=
       
   331 
       
   332 # The `R_ARM_TARGET1' relocation is typically used for entries in the `.init_array' section. It is
       
   333 # interpreted as either `R_ARM_REL32' or `R_ARM_ABS32', depending on the target. The following option
       
   334 # override the default export relocations.
       
   335 ifeq "$(GCC_MAJOR)" "3"
       
   336 	TARGET_RELOCATION_OPTION:=--target1-abs
       
   337 else
       
   338 	TARGET_RELOCATION_OPTION:=--target1-rel
       
   339 endif
       
   340 
       
   341 #-------------------------------------
       
   342 # Options to specify the output format
       
   343 #-------------------------------------
       
   344 
       
   345 # Option to create a relocatable ELF image. A relocatable image has a dynamic segment that contains 
       
   346 # relocations that can be used to relocate the image post link-time.
       
   347 RELOCATABLE_IMAGE_OPTION=
       
   348 
       
   349 # Option to create an ELF shared object.
       
   350 SHARED_OBJECT_OPTION=-shared
       
   351 
       
   352 #-------------------------------------------
       
   353 # Options to set the Start of RO/RW sections
       
   354 #-------------------------------------------
       
   355 
       
   356 # Option to set the start of the code section (RO Region)
       
   357 CODE_SEGMENT_START=-Ttext
       
   358 
       
   359 # Option to split object into RO and RW sections
       
   360 SPLIT_OPTION=
       
   361 
       
   362 # Option to set the start of the Data section (RW region)
       
   363 RW_BASE_OPTION=-Tdata
       
   364 
       
   365 # Option to be passed to the linker to set the start of the data section (RW region)
       
   366 DATA_SEGMENT_START=$(SPLIT_OPTION) $(RW_BASE_OPTION)
       
   367 
       
   368 #---------------------------------------------------------
       
   369 # Options controlling generation of Linker Warnings/Errors 
       
   370 #---------------------------------------------------------
       
   371 
       
   372 # Option to control the Linker warnings
       
   373 LD_WARNINGS_CONTROL_OPTION=
       
   374 
       
   375 # Option to suppress the Linker errors
       
   376 LD_ERRORS_CONTROL_OPTION=
       
   377 
       
   378 # Option to modify the Linker warnings and errors for Symbian OS
       
   379 SYMBIAN_LD_MESSAGE_OPTION=$(LD_WARNINGS_CONTROL_OPTION) $(LD_ERRORS_CONTROL_OPTION)
       
   380 
       
   381 # Option to specify whether unresolved symbol references from regular object files can be allowed or not.
       
   382 UNRESOLVED_SYMBOL_REF_OPTION=--no-undefined
       
   383 
       
   384 # Option to specify the undefined reference
       
   385 UNDEFINED_SYMBOL_REF_OPTION=-u
       
   386 
       
   387 # Other additional Options to be passed to the Linker
       
   388 EXTRA_LD_OPTION=
       
   389 
       
   390 #-------------------
       
   391 #Entry Point Options
       
   392 #-------------------
       
   393 
       
   394 # Option to pass the explicit symbol for beginning execution of the program
       
   395 LINKER_ENTRY_OPTION=--entry
       
   396 
       
   397 # Symbol used to denote the Start of the gouped archives.
       
   398 START_GROUP_SYMBOL=
       
   399 
       
   400 # Symbol used to denote the End of the gouped archives.
       
   401 END_GROUP_SYMBOL=
       
   402 
       
   403 #-------------------------	
       
   404 # Library Specific Options
       
   405 #-------------------------
       
   406 
       
   407 # Option to control the search in the standard libraries
       
   408 STDLIB_OPTION=-nostdlib
       
   409 
       
   410 # Additional static libraries that should be supplied to the linker to be linked with
       
   411 STATIC_LIBS_LIST=-lsupc++ -lgcc
       
   412 
       
   413 # Option to pass the path from where the runtime libraries should be picked up
       
   414 STATIC_LIBS_PATH=-L
       
   415 
       
   416 # Fetches the library path from the installation directory, here the functions will return null if the 
       
   417 # proper installation path is not set in the Environment Variable
       
   418 STATIC_LIBRARY_PATH=$(STATIC_LIBS_PATH)$(call find-gcclib-path) $(STATIC_LIBS_PATH)$(call find-libsupc-path)
       
   419 STATIC_LIBS=$(STATIC_LIBRARY_PATH)
       
   420 
       
   421 # Additional runtime libraries that should be supplied to the linker to be linked with
       
   422 # Provide the libraries separated by space, scppnwdl.dso should come before drtrvct2_2.dso
       
   423 RUNTIME_LIBS_LIST=dfpaeabi.dso dfprvct2_2.dso drtaeabi.dso scppnwdl.dso drtrvct2_2.dso
       
   424 ifeq "$(GCC_MAJOR)" "3" 
       
   425 	RUNTIME_LIBS_LIST=dfpaeabi.dso dfprvct2_2.dso drtaeabi.dso drtrvct2_2.dso
       
   426 else
       
   427 	RUNTIME_LIBS_LIST=drtaeabi.dso dfpaeabi.dso drtrvct3_1.dso dfprvct3_1.dso 
       
   428 endif
       
   429 
       
   430 # The library that contains operator new and operator delete.
       
   431 SYM_NEW_LIB=scppnwdl.dso
       
   432 
       
   433 # Option to pass the path from where the runtime libraries should be picked up
       
   434 RUNTIME_LIBS_PATH=
       
   435 
       
   436 # Option to turn on implicit symbol versioning
       
   437 SYMVER_OPTION=--default-symver
       
   438 
       
   439 # Option to specify the shared object name that is stored in the executable
       
   440 SO_NAME_OPTION=-soname
       
   441 
       
   442 # Option to generate the map file that provides information about the linking
       
   443 LINKER_SYMBOLS_OPTION=-Map
       
   444 
       
   445 # Option to specify the Symbols file
       
   446 LINKER_SYMBOLS_FILE_OPTION=
       
   447 
       
   448 # Option to produce the Map file that provides information about linking
       
   449 LINKER_SYMBOLS_MAP_OPTION=$(LINKER_SYMBOLS_OPTION) $(LINKER_SYMBOLS_FILE_OPTION)
       
   450 
       
   451 # Option to specify the linker script file
       
   452 LINKER_SCRIPT_FILE_OPTION=-T
       
   453 
       
   454 #Via file prefix and suffix 
       
   455 VIA_FILE_PREFIX=-(
       
   456 VIA_FILE_SUFFIX=-)	
       
   457 
       
   458 # option to take object file names from other(via) file, here the condition check for 
       
   459 # GCCE compiler version is done as the via option differs for different versions in GCCE
       
   460 ifeq ($(shell $(CC) -dumpversion),3.4.3)
       
   461 	COMMANDFILE_OPTION=
       
   462 else 
       
   463 	COMMANDFILE_OPTION=@
       
   464 endif
       
   465 
       
   466 # Linker options which can be customized from BSF 
       
   467 LD_OPTIONS=$(SYMBIAN_LD_MESSAGE_OPTION)$(UNRESOLVED_SYMBOL_REF_OPTION) $(STDLIB_OPTION) $(EXTRA_LD_OPTION)
       
   468 
       
   469 # Linker option common to all link commands for UREL build
       
   470 SYMBIAN_UREL_LINK_FLAGS=$(BPABI_OPTION) $(RELOCATABLE_IMAGE_OPTION) $(TARGET_RELOCATION_OPTION) $(LD_OPTIONS)
       
   471 
       
   472 # Linker option common to all link commands for UDEB build
       
   473 SYMBIAN_UDEB_LINK_FLAGS=$(BPABI_OPTION) $(RELOCATABLE_IMAGE_OPTION) $(TARGET_RELOCATION_OPTION) $(LD_OPTIONS)
       
   474 
       
   475 #-----------------
       
   476 # Archiver Options
       
   477 #-----------------
       
   478 
       
   479 # ARCHIVER variable should be set since there is a dependency for this variable in e32test.
       
   480 ARCHIVER= $(AR)
       
   481 
       
   482 ARCHIVER_CREATE_OPTION=cr
       
   483 
       
   484 # Archiver options which can be set from BSF files
       
   485 AR_OPTIONS=
       
   486 
       
   487 #--------------------------------------
       
   488 # Compiler and Platform specific macros
       
   489 #--------------------------------------
       
   490 
       
   491 # Macro definitions required to identify the compiler. Allows for conditional compilation based on compiler
       
   492 PLATFORM_DEFINES=-D__MARM_ARMV5__
       
   493 
       
   494 COMPILER_DEFINES=-D__GCCE__
       
   495 
       
   496 # Compiler target option
       
   497 COMPILER_PLAT=GCCE
       
   498 
       
   499 #--------------------------------------
       
   500 # Function Call Logger Options
       
   501 #--------------------------------------
       
   502 FC_LOGGER_OPTION=--wchar_t_keyword --microsoft_version=1300 --diag_suppress 66,161,611,654,815,830,997,1152,1300,1390 
       
   503 
       
   504 # Defines for Function Call Logger 
       
   505 FC_LOGGER_DEFINES=
       
   506 
       
   507 #------------
       
   508 # OE Options
       
   509 #------------
       
   510 
       
   511 # Options to export all the globol symbols and import undefined references, required by OE
       
   512 OE_OPTIONS=-fvisibility=default
       
   513 
       
   514 # OE Glue code libs
       
   515 OE_EXE_LIBS=libcrt0.lib
       
   516 OE_EXE_LIBS_WCHAR=libwcrt0.lib
       
   517 
       
   518 # OE Import Libs
       
   519 OE_IMPORT_LIBS=euser.lib
       
   520 
       
   521 # The library that contains operator new and operator delete.
       
   522 OE_NEW_LIB=stdnew.dso
       
   523 
       
   524 #-----------------------------------------------------------------------------------------------------
       
   525 #This section defines the interface with Symbian tools 
       
   526 #This SHOULD NOT be changed as any changes in this section will not be picked up by the tools back end
       
   527 #-----------------------------------------------------------------------------------------------------
       
   528 
       
   529 # Programs used from the ToolChain
       
   530 export  CC
       
   531 export  LD
       
   532 export  ASM
       
   533 export  AR
       
   534 export  TRANASM
       
   535 
       
   536 # Preprocessor Options
       
   537 export  PREFIXFILE
       
   538 export  CPP_LANG_OPTION
       
   539 export  C_LANG_OPTION
       
   540 export  CIA_LANG_OPTION
       
   541 
       
   542 # Option Prefix
       
   543 export OPTION_PREFIX
       
   544 
       
   545 # Compiler Options
       
   546 export	PREPROCESSOR_OPTION
       
   547 export  ASSEMBLER_LISTING_OPTION
       
   548 export  ASM_OUTPUT_OPTION
       
   549 export  INCLUDE_OPTION
       
   550 export  PREINCLUDE_OPTION
       
   551 export  HEADER_FILES_CONTROL_OPTION
       
   552 export  COMPILER_INCLUDE_PATH
       
   553 export  SYMBIAN_UREL_CCFLAGS
       
   554 export  SYMBIAN_UDEB_CCFLAGS
       
   555 export  REL_OPTIMISATION
       
   556 export  DEBUG_OPTIMISATION
       
   557 export  ARM_OPTIONS
       
   558 export  THUMB_OPTIONS
       
   559 export  COMMON_OPTIONS
       
   560 export  INVARIANT_OPTIONS
       
   561 export  KERNEL_OPTIONS
       
   562 export  COMPILER_THUMB_DEFINES
       
   563 export  COMPILER_INTERWORK_DEFINES
       
   564 export  SOFTVFPMODE_OPTION
       
   565 export  VFP2MODE_OPTION
       
   566 export  RUNTIME_SYMBOL_VISIBILITY_OPTION
       
   567 export  OUTPUT_OPTION
       
   568 export  CCFLAGS
       
   569 export  UNIX_SLASH_FOR_CC_ABS_PATHS
       
   570 export  EXCEPTIONS
       
   571 export  NO_EXCEPTIONS
       
   572 export 	VERSION_INFO
       
   573 
       
   574 # Linker Options
       
   575 export  LINKER_OUTPUT_OPTION
       
   576 export  LINKER_DEBUG_OPTION
       
   577 export  LINKER_NODEBUG_OPTION
       
   578 export  CODE_SEGMENT_START
       
   579 export  DATA_SEGMENT_START
       
   580 export  UNDEFINED_SYMBOL_REF_OPTION
       
   581 export  LINKER_ENTRY_OPTION
       
   582 export  START_GROUP_SYMBOL
       
   583 export  END_GROUP_SYMBOL
       
   584 export  SHARED_OBJECT_OPTION
       
   585 export  STDLIB_OPTION
       
   586 export  STATIC_LIBS_LIST
       
   587 export  STATIC_LIBS_PATH
       
   588 export 	STATIC_LIBRARY_PATH
       
   589 export  STATIC_LIBS
       
   590 export  RUNTIME_LIBS_LIST
       
   591 export  RUNTIME_LIBS_PATH
       
   592 export  SYM_NEW_LIB
       
   593 export  SYMVER_OPTION
       
   594 export  SO_NAME_OPTION
       
   595 export  LINKER_SYMBOLS_MAP_OPTION
       
   596 export  COMMANDFILE_OPTION
       
   597 export	VIA_FILE_PREFIX
       
   598 export	VIA_FILE_SUFFIX
       
   599 export  SYMBIAN_UREL_LINK_FLAGS
       
   600 export  SYMBIAN_UDEB_LINK_FLAGS
       
   601 export  LD_OPTIONS
       
   602 
       
   603 # Archiver Options
       
   604 export  ARCHIVER
       
   605 export  ARCHIVER_CREATE_OPTION
       
   606 export  AR_OPTIONS
       
   607 
       
   608 # Compiler Specific Defines
       
   609 export  COMPILER_DEFINES
       
   610 export  COMPILER_PLAT
       
   611 
       
   612 # Platform Specific Defines
       
   613 export  PLATFORM_DEFINES
       
   614 
       
   615 # Translator Options
       
   616 export  TRANASM_FLAGS
       
   617 export  TRANASM_OUTPUT_OPTION
       
   618 export  TRANASM_INPUT_OPTION
       
   619 
       
   620 # Function Call Logger options
       
   621 export PREINCLUDE_OPTION_FCLOGGER
       
   622 export FC_LOGGER_OPTION
       
   623 export FC_LOGGER_DEFINES
       
   624 export FC_LOGGER_INCLUDE_OPTION
       
   625 export FC_LOGGER_DICTIONARY_FILE_NAME
       
   626 export FC_LOGGER_GENERATED_C_FILE_NAME
       
   627 
       
   628 #OE Options
       
   629 export OE_OPTIONS
       
   630 export OE_EXE_LIBS
       
   631 export OE_EXE_LIBS_WCHAR
       
   632 export OE_IMPORT_LIBS
       
   633 export OE_NEW_LIB
       
   634 
       
   635 #-----------------------------------------------------------------------------------------------------
       
   636