sbsv2/raptor/notes/tools_env_vars.txt
author lorewang
Wed, 01 Dec 2010 16:05:36 +0800
changeset 715 e0739b8406dd
parent 674 37ee82a83d43
permissions -rw-r--r--
Specify extenal tool with path
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
641
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
     1
A requirement on Raptor is to allow all the tools to be configurable via 
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
     2
environment variables. To this end, updates have been made to extend the list 
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
     3
of tools that can be configured using environment variables.
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
     4
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
     5
The list of new SBS_*** environment variables and their purpose is given below:
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
     6
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
     7
SBS_EPOCTOOLS       Directory for epoc32 tools; defaults to $EPOCROOT/epoc32/tools
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
     8
                    Changes the default locations for all of the following tools.
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
     9
SBS_CHECKLIB        Full path to checklib program
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    10
SBS_DEF2DLL         perl, followed by full path to def2dll.pl
641
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    11
SBS_EFREEZE         perl, followed by full path to efreeze.pl
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    12
SBS_ELF2E32         Full path to elf2e32 program
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    13
SBS_GENDEF          perl, followed by full path to gendef.pl
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    14
SBS_MAKEDEF         perl, followed by full path to makedef.pl
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    15
SBS_PETRAN          perl, followed by full path to petran.pl
641
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    16
SBS_PREPDEF         perl, followed by full path to prepdef.pl
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    17
SBS_RCOMP           Full path to rcomp program
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    18
SBS_SYMLOOKUPUTIL   perl, followed by full path to sym_lkup_util.pl
641
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    19
SBS_TRANASM         perl, followed by full path to tranasm.pl
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    20
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    21
SBS_GCC_BIN         Linux only: full path to GCC and associated tools 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    22
SBS_MINGW_LINUX_BIN Linux only: location of MINGW tools for Linux-hosted 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    23
	            cross-compilation of Win32 tools2 targets
641
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    24
SBS_SLASHBIN        Linux only: location of /bin, i.e. an alternative location for
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    25
                    GCC and associated tools
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    26
SBS_USRBIN          Linux only: location of /usr/bin, i.e. an alternative location 
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    27
                    for Gnu tools such as the Core Utils
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    28
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    29
SBS_STLPORTINCDIR         Location of STLport headers files (tools2 builds only)
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    30
SBS_STLPORTBINDIR         Location of STLport library (tools2 builds only). 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    31
                          Assumes that there is a "rel" and "deb" directory
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    32
                          immediately under this directory containing the
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    33
                          STLport library (release and debug version 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    34
                          respectively).
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    35
SBS_STLPORTINCDIR_WIN32   Location of STLport headers files for Linux-hosted 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    36
                          cross-compilation of Win32 tools2 targets. Only 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    37
                          applicable when using the "win32" variant, 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    38
                          i.e. "tools2.win32"
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    39
SBS_STLPORTBINDIR_WIN32   Location of STLport library for Linux-hosted 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    40
                          cross-compilation of Win32 tools2 targets. Only 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    41
                          applicable when using the "win32" variant, 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    42
                          i.e. "tools2.win32". 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    43
                          Assumes that there is a "rel" and "deb" directory
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    44
                          immediately under this directory containing the
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    45
                          STLport library (release and debug version 
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    46
                          respectively).
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    47
641
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    48
In the case Perl scripts (.pl files), "perl" can be replaced with the full path to 
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    49
the perl program.
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    50
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    51
The above variables supercede the following environment variables:
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    52
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    53
CHECKLIB
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    54
EFREEZE
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    55
ELF2E32
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    56
GENDEF
641
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    57
MAKEDEF
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    58
PETRAN
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    59
PREPDEF
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    60
RCOMP
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    61
TRANASM
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    62
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    63
which are no longer in use.
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 641
diff changeset
    64