summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-07 15:18:18 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-07 15:18:18 (GMT)
commitef0f400c264178ddf8d7492b397f354529b59947 (patch)
tree22fa973a0fd09e713d77c9630c7cd2ead96c303f /docs
parent140d179eb3e94c50389f7eac90b76372d6dc0d7a (diff)
Introduce four new ARCH specific variables that CT_DoArchValues can set if they want:
- CT_ARCH_CC_CORE_EXTRA_CONFIG - CT_ARCH_CC_EXTRA_CONFIG - CT_ARCH_TARGET_CLFAGS - CT_ARCH_TARGET_LDFLAGS This will hopefully enable architectures to specify specific flags. PowerPC will need them to introduce SPE (coming RSN). /trunk/scripts/crosstool.sh | 2 2 0 0 ++ /trunk/scripts/functions | 4 2 2 0 ++-- /trunk/docs/overview.txt | 45 22 23 0 ++++++++++++++++++++++----------------------- /trunk/config/target.in | 10 10 0 0 ++++++++++ 4 files changed, 36 insertions(+), 25 deletions(-)
Diffstat (limited to 'docs')
-rw-r--r--docs/overview.txt45
1 files changed, 22 insertions, 23 deletions
diff --git a/docs/overview.txt b/docs/overview.txt
index 3629614..dff60c7 100644
--- a/docs/overview.txt
+++ b/docs/overview.txt
@@ -611,31 +611,16 @@ The "functions" file API:
${CT_ARCH}
+ provides:
- optional
- - the environment variables to configure the cross-gcc
- - CT_ARCH_WITH_ARCH
- - CT_ARCH_WITH_ABI
- - CT_ARCH_WITH_CPU
- - CT_ARCH_WITH_TUNE
- - CT_ARCH_WITH_FPU
- - CT_ARCH_WITH_FLOAT
- - contain (defaults):
- - CT_ARCH_WITH_ARCH : the gcc ./configure switch to select architecture level ( "--with-arch=${CT_ARCH_ARCH}" )
- - CT_ARCH_WITH_ABI : the gcc ./configure switch to select ABI level ( "--with-abi=${CT_ARCH_ABI}" )
- - CT_ARCH_WITH_CPU : the gcc ./configure switch to select CPU instruction set ( "--with-cpu=${CT_ARCH_CPU}" )
- - CT_ARCH_WITH_TUNE : the gcc ./configure switch to select scheduling ( "--with-tune=${CT_ARCH_TUNE}" )
- - CT_ARCH_WITH_FPU : the gcc ./configure switch to select FPU type ( "--with-fpu=${CT_ARCH_FPU}" )
- - CT_ARCH_WITH_FLOAT : the gcc ./configure switch to select floating point arithmetics ( "--with-float=soft" or /empty/ )
+ - the environment variables to configure the cross-gcc (defaults)
+ - CT_ARCH_WITH_ARCH : the gcc ./configure switch to select architecture level ( "--with-arch=${CT_ARCH_ARCH}" )
+ - CT_ARCH_WITH_ABI : the gcc ./configure switch to select ABI level ( "--with-abi=${CT_ARCH_ABI}" )
+ - CT_ARCH_WITH_CPU : the gcc ./configure switch to select CPU instruction set ( "--with-cpu=${CT_ARCH_CPU}" )
+ - CT_ARCH_WITH_TUNE : the gcc ./configure switch to select scheduling ( "--with-tune=${CT_ARCH_TUNE}" )
+ - CT_ARCH_WITH_FPU : the gcc ./configure switch to select FPU type ( "--with-fpu=${CT_ARCH_FPU}" )
+ - CT_ARCH_WITH_FLOAT : the gcc ./configure switch to select floating point arithmetics ( "--with-float=soft" or /empty/ )
+ provides:
- optional
- - the environment variables to pass to the cross-gcc to build target binaries
- - CT_ARCH_ARCH_CFLAG
- - CT_ARCH_ABI_CFLAG
- - CT_ARCH_CPU_CFLAG
- - CT_ARCH_TUNE_CFLAG
- - CT_ARCH_FPU_CFLAG
- - CT_ARCH_FLOAT_CFLAG
- - CT_ARCH_ENDIAN_CFLAG
- - contain (defaults):
+ - the environment variables to pass to the cross-gcc to build target binaries (defaults)
- CT_ARCH_ARCH_CFLAG : the gcc switch to select architecture level ( "-march=${CT_ARCH_ARCH}" )
- CT_ARCH_ABI_CFLAG : the gcc switch to select ABI level ( "-mabi=${CT_ARCH_ABI}" )
- CT_ARCH_CPU_CFLAG : the gcc switch to select CPU instruction set ( "-mcpu=${CT_ARCH_CPU}" )
@@ -645,6 +630,20 @@ The "functions" file API:
- CT_ARCH_ENDIAN_CFLAG : the gcc switch to choose big or little endian ( "-mbig-endian" or "-mlittle-endian" )
- default to:
see above.
+ + provides:
+ - optional
+ - the environement variables to configure the core and final compiler, specific to this architecture:
+ - CT_ARCH_CC_CORE_EXTRA_CONFIG : additional, architecture specific core gcc ./configure flags
+ - CT_ARCH_CC_EXTRA_CONFIG : additional, architecture specific final gcc ./configure flags
+ - default to:
+ - all empty
+ + provides:
+ - optional
+ - the architecture-specific CFLAGS and LDFLAGS:
+ - CT_ARCH_TARGET_CLFAGS
+ - CT_ARCH_TARGET_LDFLAGS
+ - default to:
+ - all empty
Adding a new version of a component |
------------------------------------+