3.2. Library Configurations

Sourcery G++ Lite for Power EABI includes the following library configuration.

603 - 32-bit
Command-line option(s):default
Library subdirectory:./
Notes:This multilib is compatible with processor cores that implement hardware floating-point support, such as Freescale's e300c3, 603e, and G2 cores.
e500v1 - 32-bit
Command-line option(s):-te500v1
Library subdirectory:te500v1/
Notes:This multilib is compatible with processor cores that implement SPE scalar and vector single-precision floating-point instructions, such as Freescale's e200z3 and e200z6 cores.
e500v2 - 32-bit
Command-line option(s):-te500v2
Library subdirectory:te500v2/
Notes:This multilib is compatible with processor cores that implement SPE scalar and vector single-precision floating-point instructions and SPE double-precision floating-point instructions.
e600 (Altivec) - 32-bit
Command-line option(s):-te600
Library subdirectory:te600/
Notes:This multilib is compatible with processor cores that implement AltiVec instructions, such as Freescale's e600 core.
603 - Soft-Float, 32-bit
Command-line option(s):-msoft-float
Library subdirectory:nof/
Notes:This multilib is compatible with processor cores that do not implement hardware floating-point instructions, such as Freescale's 8XX and e300c2 cores.

Sourcery G++ includes copies of run-time libraries that have been built with optimizations for different target architecture variants or other sets of build options. Each such set of libraries is referred to as a multilib. When you link a target application, Sourcery G++ selects the multilib matching the build options you have selected.

Sourcery G++ Lite's library support includes linker scripts that pull in appropriate CS3 startup code, as well as the libraries themselves. You can find these linker scripts in multilib-specific subdirectories of the powerpc-eabi/lib directory of your Sourcery G++ install.