core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_03.htm
author fturovic <frank.turovich@nokia.com>
Tue, 31 Aug 2010 22:58:09 -0500
changeset 1934 4f0cd256d26c
parent 1791 727385d8e2b3
permissions -rw-r--r--
BUG 11531 - fixed reported issues from Rooney and Stephen for SDK section

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Configuring Environment Variables</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body >
<h2>Configuring Environment Variables</h2>
<p>To implement run mode on-device debugging the following tasks need to be completed.</p>
<div class="step">
<h4><a name="runEnvVars" id="runEnvVars"> </a>Configuring Environment Variables</h4>
<ol>
  <li>Set EPOCROOT variable
    <ol type="a">
      <li>Right click on My Computer and select Properties</li>
      <li>Select the Advanced tab</li>
      <li>Select the Environmental Variables button</li>
      <li>Setup a new System variable called EPOCROOT. The value will depend on the path of the epoc32 folder in the kit, for example: </li>
      <p>Variable name: <span class="code">EPOCROOT</span><br />
      Variable value: <span class="code">\bin\techview\</span></p>
    </ol>
   </li>
  <p class="note"><b>NOTE</b> 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&rsquo;t find bldmake.bat if an incorrect EPOCROOT path is set.</p>
  <li>Set Path to Tools Directory
    <ol type="a">
      <li>If using an installer the tools path is set up automatically and points to:</li>
          Variable: <span class="code">PATH</span><br>
          Value: <span class="code">C:\Program Files\Common Files\Symbian\Tools</span>      
        <li>If installing from zip files you will need to setup the tools path manually. Add the path to the beginning of the PATH variable:</li>
       Variable: <span class="code">PATH</span><br />
       Variable Value: <span class="code">\epoc32\tools;\epoc32\gcc\bin;</span>       
       <li>If using multiple kits that use a mix of installer and zip files then you can set up your PATH variable like this:</li>
       Variable: <span class="code">PATH</span><br />
       Value: <span class="code">\epoc32\tools;\epoc32\gcc\bin;C:\Program Files\Common Files\Symbian\Tools</span>
    </ol>
  </li>
  </ol>
</div>
<h5>Other references</h5>
<ul>
  <li><a href="../../projects/tutorials/run_mode_debug_example_01.htm">Verify System Setup (Run-mode) Tutorial</a><a href="run_mode_debug.htm"></a>  </li>
</ul>
<div id="footer">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>

</body>
</html>