mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +00:00
cc/gcc: suffle options around
Move options around so it feels more organised. Add comments to separate groups of related options. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
21ed457eff
commit
c1a758793d
@ -336,52 +336,3 @@ config CC_LANG_JAVA_USE_ECJ
|
|||||||
default y
|
default y
|
||||||
depends on CC_LANG_JAVA
|
depends on CC_LANG_JAVA
|
||||||
depends on CC_GCC_4_3_or_later
|
depends on CC_GCC_4_3_or_later
|
||||||
|
|
||||||
config CC_PKGVERSION
|
|
||||||
string
|
|
||||||
prompt "gcc ID string"
|
|
||||||
depends on CC_GCC_4_3_or_later
|
|
||||||
default "crosstool-NG-${CT_VERSION}"
|
|
||||||
help
|
|
||||||
Specify a string that identifies your package. You may wish to include
|
|
||||||
a build number or build date. This version string will be included in
|
|
||||||
the output of gcc --version.
|
|
||||||
|
|
||||||
This is passed to the configure flag --with-pkgversion.
|
|
||||||
|
|
||||||
config CC_BUGURL
|
|
||||||
string
|
|
||||||
prompt "gcc bug URL"
|
|
||||||
depends on CC_GCC_4_3_or_later
|
|
||||||
default ""
|
|
||||||
help
|
|
||||||
Specify the URL that users should visit if they wish to report a bug.
|
|
||||||
|
|
||||||
config CC_ENABLE_CXX_FLAGS
|
|
||||||
string
|
|
||||||
prompt "Flags to pass to --enable-cxx-flags"
|
|
||||||
default ""
|
|
||||||
help
|
|
||||||
Enter here the value of the gcc's ./configure option --enable-cxx-flags.
|
|
||||||
Leave empty if you don't know better.
|
|
||||||
|
|
||||||
Note: just pass in the option _value_, that is only the part that goes
|
|
||||||
after the '=' sign.
|
|
||||||
|
|
||||||
config CC_CORE_EXTRA_CONFIG
|
|
||||||
string
|
|
||||||
prompt "Core gcc extra config"
|
|
||||||
default ""
|
|
||||||
help
|
|
||||||
Extra flags to pass onto ./configure when configuring the core gcc.
|
|
||||||
|
|
||||||
The core gcc is a stripped down, C-only compiler needed to build
|
|
||||||
the C library. Kinda bootstrap gcc, if you wish.
|
|
||||||
|
|
||||||
config CC_EXTRA_CONFIG
|
|
||||||
string
|
|
||||||
prompt "gcc extra config"
|
|
||||||
default ""
|
|
||||||
depends on ! BARE_METAL
|
|
||||||
help
|
|
||||||
Extra flags to pass onto ./configure when configuring gcc.
|
|
||||||
|
@ -1,13 +1,73 @@
|
|||||||
# Misc library-related options
|
# gcc configuration options
|
||||||
|
|
||||||
config CC_GCC_ENABLE_TARGET_OPTSPACE
|
config CC_PKGVERSION
|
||||||
bool
|
string
|
||||||
prompt "Optimize gcc libs for size"
|
prompt "gcc ID string"
|
||||||
default y
|
depends on CC_GCC_4_3_or_later
|
||||||
|
default "crosstool-NG-${CT_VERSION}"
|
||||||
help
|
help
|
||||||
Pass --enable-target-optspace to crossgcc's configure.
|
Specify a string that identifies your package. You may wish to include
|
||||||
|
a build number or build date. This version string will be included in
|
||||||
|
the output of gcc --version.
|
||||||
|
|
||||||
|
This is passed to the configure flag --with-pkgversion.
|
||||||
|
|
||||||
|
config CC_BUGURL
|
||||||
|
string
|
||||||
|
prompt "gcc bug URL"
|
||||||
|
depends on CC_GCC_4_3_or_later
|
||||||
|
default ""
|
||||||
|
help
|
||||||
|
Specify the URL that users should visit if they wish to report a bug.
|
||||||
|
|
||||||
|
config CC_ENABLE_CXX_FLAGS
|
||||||
|
string
|
||||||
|
prompt "Flags to pass to --enable-cxx-flags"
|
||||||
|
default ""
|
||||||
|
help
|
||||||
|
Enter here the value of the gcc's ./configure option --enable-cxx-flags.
|
||||||
|
Leave empty if you don't know better.
|
||||||
|
|
||||||
This will compile crossgcc's libs with -Os.
|
Note: just pass in the option _value_, that is only the part that goes
|
||||||
|
after the '=' sign.
|
||||||
|
|
||||||
|
config CC_CORE_EXTRA_CONFIG
|
||||||
|
string
|
||||||
|
prompt "Core gcc extra config"
|
||||||
|
default ""
|
||||||
|
help
|
||||||
|
Extra flags to pass onto ./configure when configuring the core gcc.
|
||||||
|
|
||||||
|
The core gcc is a stripped down, C-only compiler needed to build
|
||||||
|
the C library. Kinda bootstrap gcc, if you wish.
|
||||||
|
|
||||||
|
config CC_EXTRA_CONFIG
|
||||||
|
string
|
||||||
|
prompt "gcc extra config"
|
||||||
|
default ""
|
||||||
|
depends on ! BARE_METAL
|
||||||
|
help
|
||||||
|
Extra flags to pass onto ./configure when configuring gcc.
|
||||||
|
|
||||||
|
config STATIC_TOOLCHAIN
|
||||||
|
select CC_STATIC_LIBSTDCXX if CC_GCC_4_4_or_later
|
||||||
|
|
||||||
|
config CC_STATIC_LIBSTDCXX
|
||||||
|
bool
|
||||||
|
prompt "Link libstdc++ statically into the gcc binary"
|
||||||
|
default y
|
||||||
|
depends on CC_GCC_4_4_or_later
|
||||||
|
help
|
||||||
|
Newer gcc versions use the PPL library which is C++ code. Statically
|
||||||
|
linking libstdc++ increases the likeliness that the gcc binary will
|
||||||
|
run on machines other than the one which it was built on, without
|
||||||
|
having to worry about distributing the matching version of libstdc++
|
||||||
|
along with it.
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------------
|
||||||
|
# Optimisation features
|
||||||
|
|
||||||
|
comment "Optimisation features"
|
||||||
|
|
||||||
config CC_GCC_USE_GRAPHITE
|
config CC_GCC_USE_GRAPHITE
|
||||||
bool
|
bool
|
||||||
@ -46,20 +106,17 @@ config CC_GCC_USE_LTO
|
|||||||
This will require the libelf companion library, and it
|
This will require the libelf companion library, and it
|
||||||
wil be build automatically for you.
|
wil be build automatically for you.
|
||||||
|
|
||||||
config STATIC_TOOLCHAIN
|
#-----------------------------------------------------------------------------
|
||||||
select CC_STATIC_LIBSTDCXX if CC_GCC_4_4_or_later
|
comment "Settings for libraries running on target"
|
||||||
|
|
||||||
config CC_STATIC_LIBSTDCXX
|
config CC_GCC_ENABLE_TARGET_OPTSPACE
|
||||||
bool
|
bool
|
||||||
prompt "Link libstdc++ statically into the gcc binary"
|
prompt "Optimize gcc libs for size"
|
||||||
default y
|
default y
|
||||||
depends on CC_GCC_4_4_or_later
|
|
||||||
help
|
help
|
||||||
Newer gcc versions use the PPL library which is C++ code. Statically
|
Pass --enable-target-optspace to crossgcc's configure.
|
||||||
linking libstdc++ increases the likeliness that the gcc binary will
|
|
||||||
run on machines other than the one which it was built on, without
|
This will compile crossgcc's libs with -Os.
|
||||||
having to worry about distributing the matching version of libstdc++
|
|
||||||
along with it.
|
|
||||||
|
|
||||||
config CC_GCC_LIBMUDFLAP
|
config CC_GCC_LIBMUDFLAP
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user