mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
58 lines
2.7 KiB
HTML
58 lines
2.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Selecting a binary parser</title>
|
|
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
</head>
|
|
<body>
|
|
<h1>Selecting a binary parser</h1>
|
|
<p>Selecting the correct binary parser is important to ensure the
|
|
accuracy of the C/C++ Projects view and to successfully run and debug
|
|
your programs. Windows users should select the PE Windows Parser. UNIX
|
|
and Linux users should select the Elf Parser. When you select the
|
|
correct parser for your development environment and build your project,
|
|
you can view the components of the .o file in the C/C++ Projects view
|
|
and view the contents of the .o file in the C/C++ editor. You can also
|
|
easily browse for the executable when defining run/debug configurations.</p>
|
|
<p>For a Standard Make project, you can define the properties on a per
|
|
project basis from the New Project wizard, in the C/C++ Projects view
|
|
or in the Navigator view. You can also define project properties in the
|
|
Preferences window for future standard make projects.</p>
|
|
<p>To set properties for future Standard Make projects:</p>
|
|
<ol>
|
|
<li>Click <b>Window > Preferences </b>. Expand<b> C/C++,</b>
|
|
click <b>New Make Projects</b>.</li>
|
|
<li>Click the <b>Binary Parser</b> tab.<br>
|
|
<img src="../images/new_make-binary_parser.png"
|
|
alt="Select Binary Parser window"></li>
|
|
<li>In the <b>Binary Parser</b> list, click:</li>
|
|
<ul>
|
|
<li><b>Elf Parser</b>, if you are a Solaris, UNIX, or Linux user.</li>
|
|
<li><b>PE Windows Parser</b>, if you are a Windows user.</li>
|
|
<li><b>Cygwin PE Parser</b>, if you are using Cygwin.</li>
|
|
</ul>
|
|
<li>Click <b>OK</b>.</li>
|
|
</ol>
|
|
<p>For a Managed Make project:</p>
|
|
<ol>
|
|
<li>In the C/C++ Projects view, right-click the project, and select <b>Properties</b>.</li>
|
|
<li>Select <b>C/C++ Build</b> from the list.</li>
|
|
<li>Click the <b>Binary Parser</b> tab.</li>
|
|
</ol>
|
|
<p><img border="0" src="../images/ngconcepts.gif" alt="Related concepts"
|
|
width="143" height="21"><br>
|
|
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
|
|
<a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
|
|
<p><img border="0" src="../images/ngtasks.gif" alt="Related tasks"
|
|
width="143" height="21"><br>
|
|
<a href="cdt_o_proj_files.htm">Working with C/C++ project files</a></p>
|
|
<p><img border="0" src="../images/ngref.gif" alt="Related reference"
|
|
width="143" height="21">
|
|
<br>
|
|
<a href="../reference/cdt_u_newproj_parser_binary.htm">Binary Parser,
|
|
C/C++ Properties window</a></p>
|
|
<img src="../images/ng00_05a.gif" alt="IBM Copyright Statement">
|
|
</body>
|
|
</html>
|