mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-30 16:14:09 +00:00
Enable D language support
Enable D support as an experimental feature. GDC becomes a build dependency when enabled. Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
This commit is contained in:
parent
a3e3d734a7
commit
618affc789
14
config/cc.in
14
config/cc.in
@ -17,6 +17,9 @@ config CC_SUPPORT_JAVA
|
||||
config CC_SUPPORT_ADA
|
||||
bool
|
||||
|
||||
config CC_SUPPORT_D
|
||||
bool
|
||||
|
||||
config CC_SUPPORT_OBJC
|
||||
bool
|
||||
|
||||
@ -73,6 +76,17 @@ config CC_LANG_ADA
|
||||
Only select this if you know that your specific version of the
|
||||
compiler supports this language.
|
||||
|
||||
config CC_LANG_D
|
||||
bool
|
||||
prompt "D (EXPERIMENTAL)"
|
||||
depends on CC_SUPPORT_D
|
||||
depends on EXPERIMENTAL
|
||||
help
|
||||
Enable building a D compiler.
|
||||
|
||||
Only select this if you know that your specific version of the
|
||||
compiler supports this language.
|
||||
|
||||
config CC_LANG_OBJC
|
||||
bool
|
||||
prompt "Objective-C (EXPERIMENTAL)"
|
||||
|
@ -4,6 +4,7 @@
|
||||
## select CC_SUPPORT_FORTRAN
|
||||
## select CC_SUPPORT_JAVA if !GCC_7_or_later && OBSOLETE
|
||||
## select CC_SUPPORT_ADA
|
||||
## select CC_SUPPORT_D
|
||||
## select CC_SUPPORT_OBJC
|
||||
## select CC_SUPPORT_OBJCXX
|
||||
## select CC_SUPPORT_GOLANG
|
||||
|
@ -43,6 +43,7 @@ cc_gcc_lang_list() {
|
||||
[ "${CT_CC_LANG_CXX}" = "y" ] && lang_list+=",c++"
|
||||
[ "${CT_CC_LANG_FORTRAN}" = "y" ] && lang_list+=",fortran"
|
||||
[ "${CT_CC_LANG_ADA}" = "y" ] && lang_list+=",ada"
|
||||
[ "${CT_CC_LANG_D}" = "y" ] && lang_list+=",d"
|
||||
[ "${CT_CC_LANG_JAVA}" = "y" ] && lang_list+=",java"
|
||||
[ "${CT_CC_LANG_OBJC}" = "y" ] && lang_list+=",objc"
|
||||
[ "${CT_CC_LANG_OBJCXX}" = "y" ] && lang_list+=",obj-c++"
|
||||
|
Loading…
x
Reference in New Issue
Block a user