sbsv2/raptor/notes/tools_env_vars.txt
author lorewang
Mon, 22 Nov 2010 10:56:31 +0800
changeset 700 c22eff170fac
parent 641 8dd670a9f34f
child 674 37ee82a83d43
permissions -rw-r--r--
update from trunk
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
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    10
SBS_EFREEZE         perl, followed by full path to efreeze.pl
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    11
SBS_ELF2E32         Full path to elf2e32 program
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    12
SBS_PREPDEF         perl, followed by full path to prepdef.pl
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    13
SBS_RCOMP           Full path to rcomp program
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    14
SBS_TRANASM         perl, followed by full path to tranasm.pl
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    15
SBS_MAKEDEF         perl, followed by full path to makedef.pl
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    16
SBS_PETRAN          perl, followed by full path to petran.pl
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    17
SBS_SYMLOOKUPUTIL   perl, followed by full path to sym_lkup_util.pl
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    18
SBS_SLASHBIN        Linux only: location of /bin, i.e. an alternative location for
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    19
                    GCC and associated tools
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    20
SBS_USRBIN          Linux only: location of /usr/bin, i.e. an alternative location 
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    21
                    for Gnu tools such as the Core Utils
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    22
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    23
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
    24
the perl program.
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    25
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    26
The above variables supercede the following environment variables:
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    27
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    28
CHECKLIB
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    29
EFREEZE
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    30
ELF2E32
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    31
MAKEDEF
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    32
PETRAN
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    33
PREPDEF
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    34
RCOMP
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    35
TRANASM
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    36
8dd670a9f34f sbs version 2.15.2
Jon Chatten
parents:
diff changeset
    37
which are no longer in use.