realview22.rar

源代码在线查看: genmake.stp

软件大小: 182693 K
上传用户: mmj
关键词: realview 22
下载地址: 免注册下载 普通下载 VIP

相关代码

				# GENMAKE STP FILE. This is a settings Template for the 
				# development tools used for projects. This provides basic
				# knowledge and allows setting the information only once.
				
				# 120 ; The PROC group contains the information on the location and
				# base settings for the development tools. These are set once
				# and used for each project unless you want to override them
				# in the projects (such as to use a newer or older version).
				[TEMPLATE=PROC]         \\ Defines processor specific settings
				# 106 ; This is the path to the executable tools (compiler, assembler,
				# linker). Normally, this will also be used for accessing
				# libraries as well.
				tool_dir=D    \\ Base directory for compiler/assembler
				# 129 ; This can be the name only or pathname of the compiler. It
				# is set to the vendor default. You can change it if needed.
				compiler=F              \\ Name and location of compiler
				# 116 ; This can be the name only or pathname of the assembler. It
				# is set to the vendor default. You can change it if needed.
				assembler=F             \\ Name and location of assembler
				# 113 ; This can be the name only or pathname of the C++ compiler
				# if different than C. It will only be used when the vendor
				# has a separate C++ compiler from C and that is supported
				# by the RVDEBUG project. You can change it if needed.
				cpp_compiler=F          \\ Name and location of C++ compiler
				# 114 ; This can be the name only or pathname of the librarian. It
				# is set to the vendor default. You can change it if needed.
				librarian=F             \\ Name and location of librarian
				# 131 ; This can be the name only or pathname of the linker. It
				# is set to the vendor default. You can change it if needed.
				linker=F                \\ Name and location of linker
				# 109 ; This can be the name only or pathname of an alternate compiler. 
				# It is only used if multiple compilers exist based on choices
				# such as 16 vs. 32 bit code for example. It will only be used
				# if the Project settings support this concept.
				alt_compiler=F          \\ Name and location of alternate compiler
				# 115 ; This can be the name only or pathname of an alternate assembler. 
				# It is only used if multiple assemblers exist based on choices
				# such as 16 vs. 32 bit code for example. It will only be used
				# if the Project settings support this concept.
				alt_assembler=F         \\ Name and location of alternate assembler
				# 127 ; This can be the name only or pathname of an alternate C++ compiler. 
				# It is only used if multiple C++ compilers exist based on choices
				# such as 16 vs. 32 bit code for example. It will only be used
				# if the Project settings support this concept.
				alt_cpp_compiler=F      \\ Name and location of alternate C++ compiler
				# 103 ; This field indicates the version of the tools that are
				# in use.  The number is assigned by ARM and corresponds
				# to an internal representation of the tool version.  
				# (If a higher/invalid number is entered, it will be treated
				# as a 0.)
				version=V(0-6)          \\ Version of tools if needed.
				# 105 ; Tool_env allows defining environment variables that should
				# be set before running the development tools. The format is
				# name=value. Default ones will be set based on vendor use.
				tool_env=LS             \\ Environment variables to set
				# 128 ; Tool_env_check is used to catch environment variables set
				# before RVDEBUG is run. These may cause problems when building
				# due to side-effects on the development tools.
				tool_env_check=LS       \\ Environment variables to check
				# 104 ; C_code rules are used when RVDEBUG detects C files used in 
				# the project. These will use the default linker (or librarian) command files,
				# runtime libraries, boot object files, etc. The default will
				# point to the vendor provided default for the compiler. You
				# can switch these to the files you use for your target.
				{.C_code                \\ Rules when C used
				  # 119 ; 
				  def_cmd_file=F        \\ Default Linker command file
				  # 112 ; 
				  def_lib_cmd_file=F    \\ Default Librarian command file
				  # 124 ; 
				  def_lib_file=F        \\ Default library to load
				  # 101 ; 
				  def_obj_file=F        \\ Default object file to link in
				  # 111 ; 
				  def_lib_path=D        \\ Default library directory
				  # 107 ; 
				  def_link_args=S       \\ Default linker arguments to use
				  # 121 ; 
				  def_lib_args=S        \\ Default librarian arguments to use
				}
				# 126 ; ASM_code rules are used when RVDEBUG detects that no C/C++ files 
				# are used in the project (only asm). These will use the default
				# linker (or librarian) command files, runtime libraries, boot object files,
				# etc. The default will point to the vendor provided default 
				# for the assembler if any. You can switch these to the files
				# you use for your target.
				{.ASM_code              \\ Rules when assembly only (no C/C++)
				  # 119 ; 
				  def_cmd_file=F        \\ Default Linker command file
				  # 112 ; 
				  def_lib_cmd_file=F    \\ Default Librarian command file
				  # 124 ; 
				  def_lib_file=F        \\ Default library to load
				  # 101 ; 
				  def_obj_file=F        \\ Default object file to link in
				  # 111 ; 
				  def_lib_path=D        \\ Default library directory
				  # 107 ; 
				  def_link_args=S       \\ Default linker arguments to use
				  # 121 ; 
				  def_lib_args=S        \\ Default librarian arguments to use
				}
				# 108 ; Cpp_code rules are used when RVDEBUG detects C++ files used in 
				# the project (usually from you selecting the compile mode as C++).
				# These will use the default linker (or librarian) command files,
				# runtime libraries, boot object files, etc. The default will
				# point to the vendor provided default for the compiler. You
				# can switch these to the files you use for your target.
				{.Cpp_code              \\ Rules when C++ used
				  # 119 ; 
				  def_cmd_file=F        \\ Default Linker command file
				  # 112 ; 
				  def_lib_cmd_file=F    \\ Default Librarian command file
				  # 124 ; 
				  def_lib_file=F        \\ Default library to load
				  # 101 ; 
				  def_obj_file=F        \\ Default object file to link in
				  # 111 ; 
				  def_lib_path=D        \\ Default library directory
				  # 107 ; 
				  def_link_args=S       \\ Default linker arguments to use
				  # 121 ; 
				  def_lib_args=S        \\ Default librarian arguments to use
				}
				# 102 ; Windows 95/NT allow long filenames. These include files longer
				# than 8.3 and files with spaces in them. The development tools
				# may not support these, and so you can have them automatically
				# converted. The default is to convert pathnames that have
				# spaces in them.
				dos_names=K(always,spaces,never)1 \\ Controls use of DOS vs. Long filenames \
				                           \K Always convert long to short names,\
				                              Only convert long filenames with spaces,\
				                              Never convert long filenames
				# 117 ; Dos_App is set to True when the devlopment tools (compiler,
				# assembler, linker) are MSDOS applications that use extended
				# memory. MS Windows cannot handle running these applications
				# directly - they have to run from a "DOS box". If you have this
				# off and the task bar shows "Winoldapp", you need to switch
				# this on (set to True). If you are using 32 bit tools, you can
				# switch this off (set to False).
				dos_app=B0              \\ Set if development tools are pure MSDOS applications
				# 118 ; Extensions allow coercion of the accepted source and object
				# file extensions allowed. The defaults are based on the normal
				# names used by the vendor's compiler/assembler tools. The names
				# should be of the form "obj" and not ".obj".
				{.Extensions
				  # 130 ;
				  objects=S             \\ object file extension (if not obj/o)
				  # 110 ;
				  asm_source=S          \\ assembly file extension (if not asm/s/src)
				  # 123 ;
				  cpp_source=S          \\ C++ file extension (if not cpp,cxx,cc)
				}
				# 125 ; Make_cmd is used to override the normal make command emitted
				# for running the build. This is normally used to execute a
				# different make program or to run a remote make (across the
				# network). The string will only replace the "make" part of the
				# command line unless you specify control chars. The control
				# chars start with a $ and are followed by a letter. The allowed
				# control chars are: $f is the makefile name, $a are the args
				# for the command, $e is either "all" or "rebuild" or "clean"
				# or an object file name to build (for build this file),
				# $t is target name (file to build or rebuild/clean), and $p
				# is the project directory. The default if no controls are
				# given is " -f $f $a $e". Examples are "rsh host make" and 
				# "nmake -xyz -f $f $a $e CONFIG=all".
				Make_cmd=S              \\ Make command line to run.
				
							

相关资源