Configuring Environment Variables

To implement run mode on-device debugging the following tasks need to be completed.

Configuring Environment Variables

  1. Set EPOCROOT variable
    1. Right click on My Computer and select Properties
    2. Select the Advanced tab
    3. Select the Environmental Variables button
    4. Setup a new System variable called EPOCROOT. The value will depend on the path of the epoc32 folder in the kit, for example:
    5. Variable name: EPOCROOT
      Variable value: \bin\techview\

  2. NOTE Take note of the location of the epoc32 folder when using multiple kits. Some kits place the epoc32 folder at \bin\techview\ and some kits will place it at the root. If you have multiple installations and switch to a new kit, you will need to change the EPOCROOT path; otherwise build problems may occur. When building the ROM image, scripts may complain about the EPOCROOT path or that it can’t find bldmake.bat if an incorrect EPOCROOT path is set.

  3. Set Path to Tools Directory
    1. If using an installer the tools path is set up automatically and points to:
    2. Variable: PATH
      Value: C:\Program Files\Common Files\Symbian\Tools
    3. If installing from zip files you will need to setup the tools path manually. Add the path to the beginning of the PATH variable:
    4. Variable: PATH
      Variable Value: \epoc32\tools;\epoc32\gcc\bin;
    5. If using multiple kits that use a mix of installer and zip files then you can set up your PATH variable like this:
    6. Variable: PATH
      Value: \epoc32\tools;\epoc32\gcc\bin;C:\Program Files\Common Files\Symbian\Tools
Other references