config/cc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Aug 15 10:14:43 2007 +0000 (2007-08-15)
changeset 331 0c05f9ea3254
parent 91 aa1d248fa51b
child 346 33e5e62eeee7
permissions -rw-r--r--
Get rid of the core cc selection. It is now the same as the final compiler.
     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 sports lots of languages, powerfull code parser, optimised binary output,
    23       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 "Additionnal 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       Only select this if you know that your specific combination of
    65       compiler and its version does support this language.
    66 
    67 config CC_LANG_FORTRAN
    68     bool
    69     prompt "Fortran"
    70     default n
    71     depends on CC_SUPPORT_FORTRAN
    72     help
    73       Only select this if you know that your specific combination of
    74       compiler and its version does support this language.
    75 
    76 config CC_LANG_JAVA
    77     bool
    78     prompt "Java"
    79     default n
    80     depends on CC_SUPPORT_JAVA
    81     help
    82       Only select this if you know that your specific combination of
    83       compiler and its version does support this language.
    84 
    85 config CC_LANG_ADA
    86     bool
    87     prompt "ADA"
    88     default n
    89     depends on CC_SUPPORT_ADA
    90     help
    91       Only select this if you know that your specific combination of
    92       compiler and its version does support this language.
    93 
    94 config CC_LANG_OBJC
    95     bool
    96     prompt "Objective-C"
    97     default n
    98     depends on CC_SUPPORT_OBJC
    99     help
   100       Only select this if you know that your specific combination of
   101       compiler and its version does support this language.
   102 
   103 config CC_LANG_OBJCXX
   104     bool
   105     prompt "Objective-C++"
   106     default n
   107     depends on CC_SUPPORT_OBJCXX
   108     help
   109       Only select this if you know that your specific combination of
   110       compiler and its version does support this language.
   111 
   112 config CC_LANG_OTHERS
   113     string
   114     prompt "Other languages"
   115     default ""
   116     help
   117       Enter here a comma-separated list of languages that you know your compiler
   118       supports, besides those listed above.
   119 
   120       Eg. gcc-4.1+ has a toy programming language, treelang. As it is not usefull
   121       in real life, it is not available in the selection above.
   122 
   123 endmenu