How-to: Use CDT xlC Error Parser

The PTP Cell/B.E IDE (IDE) has integrations with the Cell BE GNU compilers and also with the Cell BE XL compilers. The error messages printed by these compilers are parsed by the appropriate error message parser in order to identify the error information and properly show it in the graphical user interface, making it easier for the developer to solve the problems the compilers encountered in his/her source code.

The GNU C Compiler error message parser already comes integrated with CDT. On the other hand, there wasn't support in CDT for the XL C/C++ compiler error messages and hence PTP Cell/B.E IDE provides its own XLC Error Parser. However, since CDT 3.1.2 it is provided an XL C/C++ Error Parser to be installed from the CDT update site. If you prefer to use this XL C/C++ Error Parser instead of the one provided by PTP Cell/B.E IDE, you may follow the following instructions in order to install CDT xlC Error Parser as it is not installed by default when CDT is installed:

  1. Install Java, Eclipse and CDT as described in steps 1 through 4 of the PTP Cell/B.E IDE Installation Instructions.It is important to notice that the CDT xlC Error Parser is available only since CDT 3.1.2
  2. Start Eclipse. Make sure to start Eclipse with a user that has write permission to the Eclipse installation directory.
  3. From the menu, choose Help -> Software Updates -> Find and Install...
  4. Select Search for new feature to install, then press Next.
  5. Click New Remote Site....
  6. Fill the Name field with a name that identifies the update site, e.g.CDT Update Site.
  7. Fill the URL field with
    http://download.eclipse.org/tools/cdt/releases/callisto
  8. Click OK. The recently created entry will appear selected in the Sites to include in search field.
  9. Click Finish and follow the onscreen instructions.

After following the steps above, a CDT xlC Error Parser entry will appear in the Error Parser tab that can be accessed through Window -> Preferences... -> C/C++ -> Make -> New Make Projects or in the C/C++ Build dialog page of a Managed Make C/C++ project Properties or in the C/C++ Make Project dialog page of a Standard Make C/C++ project Properties or in the final dialog of the project creation wizard for Managed Make C/C++ and Standard Make C/C++ projects. On this Error Parser tab the user will be able to deselect PTP Cell/B.E IDE XLC Error Parser and select the CDT xlC Error Parser.