config/cc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 05 13:27:09 2008 +0000 (2008-08-05)
changeset 760 80098c869f5e
parent 448 08da017ba46b
child 850 ef8549b58b6f
permissions -rw-r--r--
Mark "ADA", "ObjC", "ObjC++" and "other languages" as being EXPERIMENTAL.

/trunk/config/cc.in | 12 8 4 0 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
     1 # Compiler options
     2 
     3 menu "C compiler"
     4 
     5 choice
     6     bool
     7     prompt "C compiler flavour"
     8     default CC_GCC
     9 
    10 config CC_GCC
    11     bool
    12     prompt "gcc"
    13     select CC_SUPPORT_CXX
    14     select CC_SUPPORT_FORTRAN
    15     select CC_SUPPORT_JAVA
    16     select CC_SUPPORT_ADA
    17     select CC_SUPPORT_OBJC
    18     select CC_SUPPORT_OBJCXX
    19     help
    20       gcc is the full-blown GNU compiler. This is what most people will choose.
    21       
    22       gcc supports many languages, a powerful code parser, optimised binary 
    23       output, and lots of other features.
    24 
    25 endchoice
    26 
    27 config CC_VERSION
    28     string
    29 
    30 config CC
    31     string
    32     default "gcc" if CC_GCC
    33 
    34 if CC_GCC
    35 source config/cc/gcc.in
    36 endif
    37 
    38 config CC_SUPPORT_CXX
    39     bool
    40 
    41 config CC_SUPPORT_FORTRAN
    42     bool
    43 
    44 config CC_SUPPORT_JAVA
    45     bool
    46 
    47 config CC_SUPPORT_ADA
    48     bool
    49 
    50 config CC_SUPPORT_OBJC
    51     bool
    52 
    53 config CC_SUPPORT_OBJCXX
    54     bool
    55 
    56 comment "Additional supported languages:"
    57 
    58 config CC_LANG_CXX
    59     bool
    60     prompt "C++"
    61     default n
    62     depends on CC_SUPPORT_CXX
    63     help
    64       Enable building a C++ compiler.
    65 
    66       Only select this if you know that your specific version of the
    67       compiler supports this language.
    68 
    69 config CC_LANG_FORTRAN
    70     bool
    71     prompt "Fortran"
    72     default n
    73     depends on CC_SUPPORT_FORTRAN
    74     help
    75       Enable building a FORTRAN compiler.
    76 
    77       Only select this if you know that your specific version of the
    78       compiler supports this language.
    79 
    80 config CC_LANG_JAVA
    81     bool
    82     prompt "Java"
    83     default n
    84     depends on CC_SUPPORT_JAVA
    85     help
    86       Enable building a Java compiler.
    87 
    88       Only select this if you know that your specific version of the
    89       compiler supports this language.
    90 
    91 config CC_LANG_ADA
    92     bool
    93     prompt "ADA (EXPERIMENTAL)"
    94     default n
    95     depends on CC_SUPPORT_ADA
    96     depends on EXPERIMENTAL
    97     help
    98       Enable building an Ada compiler.
    99 
   100       Only select this if you know that your specific version of the
   101       compiler supports this language.
   102 
   103 config CC_LANG_OBJC
   104     bool
   105     prompt "Objective-C (EXPERIMENTAL)"
   106     default n
   107     depends on CC_SUPPORT_OBJC
   108     depends on EXPERIMENTAL
   109     help
   110       Enable building an Objective C compiler.
   111 
   112       Only select this if you know that your specific version of the
   113       compiler supports this language.
   114 
   115 config CC_LANG_OBJCXX
   116     bool
   117     prompt "Objective-C++ (EXPERIMENTAL)"
   118     depends on EXPERIMENTAL
   119     default n
   120     depends on CC_SUPPORT_OBJCXX
   121     help
   122       Enable building an Objective C++ compiler.
   123 
   124       Only select this if you know that your specific version of the
   125       compiler supports this language.
   126 
   127 config CC_LANG_OTHERS
   128     string
   129     prompt "Other languages (EXPERIMENTAL)"
   130     default ""
   131     depends on EXPERIMENTAL
   132     help
   133       Enter here a comma-separated list of languages that you know your compiler
   134       supports, besides those listed above.
   135 
   136       Eg. gcc-4.1+ has a toy programming language, treelang. As it is not usefull
   137       in real life, it is not available in the selection above.
   138 
   139 endmenu