carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_proj_parser.htm
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
<html lang="en">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
<head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
  <meta http-equiv="Content-Language" content="en-us">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
  <title>Selecting a binary parser</title>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
  <link rel="stylesheet" type="text/css" href="../help.css">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
<body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
<h1>Selecting a binary parser</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
<p>Selecting the correct binary parser is important to ensure the
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
accuracy of the C/C++ Projects view and to successfully run and debug
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
your programs. Windows users should select the PE Windows Parser. UNIX
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
and Linux users should select the Elf Parser. When you select the
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
correct parser for your development environment and build your project,
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
you can view the components of the .o file in the C/C++ Projects view
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
and view the contents of the .o file in the C/C++ editor. You can also
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
easily browse for the executable when defining run/debug configurations.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
<p>If you use CDT-generated makefile to build your project, appropriate
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
binary parsers are set according to selected toolchain during creation.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
<p>If you use your own makefile to build, default settings 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
for binary parser are got from Preferences during project creation.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
<p>You can modify these settings in the Preferences window, to be used in future projects.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
<p>To set properties for future projects with user-provided Makefile :</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
<ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
  <li>Click <b>Window &gt; Preferences &gt; C/C++ &gt; New CDT Project wizard &gt; Makefile project</b></li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
  <li>Click the <b>Binary Parser</b> tab.<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
    <img src="../images/task_binary_pref.png"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
 alt="Select Binary Parser window"></li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
  <li>In the <b>Binary Parser</b> list, click:</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
  <ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
    <li><b>Elf Parser</b>, if you are a Solaris, UNIX, or Linux user.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
    <li><b>PE Windows Parser</b>, if you are a Windows user.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
    <li><b>Cygwin PE Parser</b>, if you are using Cygwin.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
  </ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
  <li>Click <b>OK</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
</ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
<p>To change binary parsers for existing project:</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
<ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
  <li>In the C/C++ Projects view, right-click the project, and select <b>Properties</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
  <li>Select <b>C/C++ Build &gt; Settings</b> from the list.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
  <li>Click the <b>Binary Parser</b> tab.<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
<img src="../images/task_binary_parser.png"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
 alt="Select Binary Parser window">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
</ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
<p><img border="0" src="../images/ngconcepts.gif" alt="Related concepts"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
 width="143" height="21"><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
<a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
<p><img border="0" src="../images/ngtasks.gif" alt="Related tasks"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
 width="143" height="21"><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
<a href="cdt_o_proj_files.htm">Working with C/C++ project files</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    55
<p><img border="0" src="../images/ngref.gif" alt="Related reference"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
 width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
<a href="../reference/cdt_u_newproj_parser_binary.htm">Binary Parser,
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    59
C/C++ Properties window</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    60
<img src="../images/ng00_05a.gif" alt="IBM Copyright Statement">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    61
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    62
</html>