IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Eclipse technology  >  

PowerPC Switch Extensions for Eclipse C/C++ Development Tooling

A plug-in to the Eclipse CDT that provides new C/C++ Project Types with PowerPC-specific GNU toolchain switches available in the project properties.


Date Posted: February 27, 2007
Overview Requirements DownloadFAQsForum Reviews

1. Why don't I see any PowerPC-specific switches when I create a C or C++ project?
2. Why aren't there other missing GCC switches in this plug-in?
3. How do I set the value of a switch to something other than what is in the provided list for that option?
4. There is a missing PowerPC-specific switch that I cannot find in the plug-in. Where is it?


1. Why don't I see any PowerPC®-specific switches when I create a C or C++ project?

There are several things to check:

Please ensure that the plug-in is installed correctly by clicking Eclipse Help > About Eclipse SDK > Plug-in Details; then look for the plug-in with the name PowerPC Switch Extensions for the C/C++ Development Tooling. If you don't find that plug-in, please refer to the installation instructions.

In addition to the above, the PowerPC switches will not be visible unless the following two conditions have been met:

  • You should have created a "Managed Make" C or C++ project after the plug-in was installed. Please note that a "Standard Make" C or C++ project will not have any switches that can be set; this is because switches are supposed to be managed by developer-supplied makefiles or scripts.
  • You should have selected one of the PowerPC project types, such as "PowerPC Executable," for your project.
Back to top Back to top

2. Why aren't there other missing GCC switches in this plug-in?

This plug-in was designed to add only the PowerPC-specific switches, not all of the architecture-independent GCC switches. If you feel that there are important architecture-independent switches missing, please report them to the CDT developers.
Back to top Back to top

3. How do I set the value of a switch to something other than what is in the provided list for that option?

There should not be many cases like this. Some exceptions are in the following switches:
  • -mprioritize-restricted-insns
  • -msched-costly-deps
  • -minsert-sched-nops

In these cases, if the value you want to use is not in the list, you must add the whole switch by hand in the Miscellaneous Options dialog box.

If there are other cases in which a necessary value is not available, please provide this feedback in this technology's discussion forum here on alphaWorks. In the mean time, you must add the switch by hand in the Miscellaneous Options dialog box.

Back to top Back to top

4. There is a missing PowerPC-specific switch that I cannot find in the plug-in. Where is it?

The design of this plug-in was based on GCC 4.1.0. I have attempted to include every modern PowerPC-specific switch. If one has been left out that is in version 4.1.0 and that cannot be duplicated by setting another switch, please provide this feedback in this technology's discussion forum here on alphaWorks. If the switch you need is in an older version of the compiler, you must add it by hand using the Miscellaneous Switches dialog box. If the switch is only in a newer version of the compiler, please provide this feedback in the discussion forum.
Back to top Back to top
Download now Download now

Related technologies

For platform(s):
Linux

For topics:
Compilers, Configuration, Eclipse


 

    About IBM Privacy Contact