Using the LSB Eclipse Plugin

Tagged with Development

The org.linuxfoundation.cdt.lsb plug-in is intended to facilitate development of portable C/C++ applications for the Linux platform by integrating the LSB tools into the Eclipse IDE. It enables smooth using the LSB SDK for building C/C++ applications within the Eclipse IDE along with "at hand" checking the applications with the Linux Application Checker.

Start Using the LSB Eclipse Plugin

Please read LSB Eclipse Plugin Getting Started for an overview of this plug-in and instructions for installation and uninstallation.

Information about the LSB Eclipse Plugin sources has been provided.

The latest release notes are available on the Release Notes page.

Key Features

The key features of the LSB Eclipse Plugin include:

  • Integration of the LSB SDK tools that allow building LSB-compliant applications:
    • Adds the following Eclipse project templates to use LSB toolchain instead of the standard GCC toolchain that uses lsbcc/lsbc++ compilers from LSB SDK package:
      • Executable program (C/C++)
      • Shared Library (C/C++)
      • Static Library (C/C++)
    • Support for the multiversioned LSB SDK tools.
  • Integration with the Linux Application Checker:
    • Determine location of the local version of the Linux Application Checker;
    • Gather the following options for the command-line interface of the Linux Application Checker:
      • Location and file name of the project to check
      • LSB version to test against (using the version of LSB SDK or 4.0 if no SDK installed)
      • Results directory
    • Run analysis using the command-line interface of the Linux Application Checker
    • Show results page in the Eclipse browser using the web-interface of the Linux Application Checker
    • Provide a dialog for selecting a Linux Application Checker server if there are several servers running
    • Application checking when multiple projects selected
    • Take project dependencies into account when checking the application in the Linux Application Checker
    • Save/Load the configured options and user choices for using them as defaults in the future
    • Separate page for the plug-in's settings in the Eclipse Preferences dialog box.

Future Plans

This section contains the current wish list for the LSB Eclipse Plugin evolution.

  • Support for the installable Linux Application Checker version.
  • Integration with the LSB Database Navigator.
  • Replace compiler messages about functions that not found with the information from the LSB database.