3.2. Library Configurations

Sourcery G++ Lite for Power GNU/Linux includes the following library configuration.

603 - GLIBC, 32-bit
Command-line option(s):default
Sysroot subdirectory:./
Dynamic linker:lib/ld.so.1
Notes:This multilib is compatible with processor cores that implement hardware floating-point support, such as Freescale's e300c3, 603e, and G2 cores.
603 - Soft-Float, GLIBC, 32-bit
Command-line option(s):-msoft-float
Sysroot subdirectory:nof/
Dynamic linker:lib/ld.so.1
Notes:This multilib is compatible with processor cores that do not implement hardware floating-point instructions, such as Freescale's 8XX and e300c2 cores.
e600 (Altivec) - GLIBC, 32-bit
Command-line option(s):-te600
Sysroot subdirectory:te600/
Dynamic linker:lib/ld.so.1
Notes:This multilib is compatible with processor cores that implement AltiVec instructions, such as Freescale's e600 core.
e500v1 - GLIBC, 32-bit
Command-line option(s):-te500v1
Sysroot subdirectory:te500v1/
Dynamic linker:lib/ld.so.1
Notes:This multilib is compatible with processor cores that implement SPE scalar and vector single-precision floating-point instructions.
e500v2 - GLIBC, 32-bit
Command-line option(s):-te500v2
Sysroot subdirectory:te500v2/
Dynamic linker:lib/ld.so.1
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.
e500mc - GLIBC, 32-bit
Command-line option(s):-te500mc
Sysroot subdirectory:te500mc/
Dynamic linker:lib/ld.so.1
Notes:This multilib is compatible with Freescale's QorIQ processor cores.
970 - GLIBC, Hard-Float, 64-bit
Command-line option(s):-m64
Sysroot subdirectory:./
Dynamic linker:lib64/ld64.so.1
Notes:This multilib is compatible with 64-bit processor 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.

Each multilib corresponds to a sysroot directory which contains the files that should be installed on the target system. The sysroot contains the dynamic linker used to run your applications on the target as well as the libraries. Refer to Section 3.4, “Using Sourcery G++ Lite on GNU/Linux Targets” for instructions on how to install and use these support files on your target GNU/Linux system. You can find the sysroot directories provided with Sourcery G++ in the powerpc-linux-gnu/libc directory of your installation. In the tables below, the dynamic linker pathname is given relative to the corresponding sysroot.