[PATCH] Config documentation for eglibc and SPE
Nate Case
ncase@xes-inc.com
Wed Aug 27 13:46:00 GMT 2008
This is some documentation I had in my own eglibc and SPE support that I
did before Thomas JOURDAN's patches were merged. I adjusted it slightly
to correspond correctly to the current code.
--
Nate Case <ncase@xes-inc.com>
Index: config/libc.in
===================================================================
--- config/libc.in (revision 967)
+++ config/libc.in (working copy)
@@ -23,6 +23,13 @@
select LIBC_SUPPORT_NPTL
select LIBC_SUPPORT_LINUXTHREADS
depends on EXPERIMENTAL
+ help
+ EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
+ that is designed to work well on embedded systems. EGLIBC strives
+ to be source and binary compatible with GLIBC. Its goals include
+ a reduced footprint, configurable components, and improved
+ cross-compilation support. EGLIBC also includes some embedded ports
+ (such as e500/spe) that are normally separate add-ons of GLIBC.
if LIBC_EGLIBC
source config/libc/eglibc.in
Index: arch/powerpc/config.in
===================================================================
--- arch/powerpc/config.in (revision 967)
+++ arch/powerpc/config.in (working copy)
@@ -14,4 +14,13 @@
depends on EXPERIMENTAL
default n
help
- Add support for the Signal Processing Engine.
+ Add support for the Signal Processing Engine. This will set up
+ the toolchain so that it supports the SPE ABI extensions. This
+ mainly targets Freescale e500 processors.
+
+ Setting this option will append "spe" to the end of your target
+ tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
+ configure/build system will know to include SPE ABI support.
+ It will also automatically add "-mabi=spe -mspe" to your
+ TARGET_CFLAGS, and "--enable-e500_double" to your CC_EXTRA_CONFIG,
+ so you do not need to explicitly add them.
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list