Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse C/C++ Developer Guide
Previous Page Home Next Page

Selecting a binary parser

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.

If you use CDT-generated makefile to build your project, appropriate binary parsers are set according to selected toolchain during creation.

If you use your own makefile to build, default settings for binary parser are got from Preferences during project creation.

You can modify these settings in the Preferences window, to be used in future projects.

To set properties for future projects with user-provided Makefile :

  1. Click Window > Preferences > C/C++ > New CDT Project wizard > Makefile project
  2. Click the Binary Parser tab.
    Select Binary Parser window
  3. In the Binary Parser list, click:
    • Elf Parser, if you are a Solaris, UNIX, or Linux user.
    • PE Windows Parser, if you are a Windows user.
    • Cygwin PE Parser, if you are using Cygwin.
  4. Click OK.

To change binary parsers for existing project:

  1. In the C/C++ Projects view, right-click the project, and select Properties.
  2. Select C/C++ Build > Settings from the list.
  3. Click the Binary Parser tab.
    Select Binary Parser window

Related concepts
CDT Projects
Project file views

Related tasks
Working with C/C++ project files

Related reference
Binary Parser,C/C++ Properties window

IBM Copyright Statement

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire