config/cc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Apr 17 21:04:23 2008 +0000 (2008-04-17)
changeset 448 08da017ba46b
parent 446 d205527c5e01
child 760 80098c869f5e
permissions -rw-r--r--
Moving around the files in config/ broke the tools/addToolVersion.sh script.
Fix that.

/trunk/tools/addToolVersion.sh | 26 13 13 0 +++++++++++++-------------
/trunk/config/kernel/linux.in | 6 3 3 0 +++---
/trunk/config/kernel.in | 2 1 1 0 +-
/trunk/config/cc.in | 2 1 1 0 +-
/trunk/config/libc.in | 4 2 2 0 ++--
5 files changed, 20 insertions(+), 20 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"
    94     default n
    95     depends on CC_SUPPORT_ADA
    96     help
    97       Enable building an Ada compiler.
    98 
    99       Only select this if you know that your specific version of the
   100       compiler supports this language.
   101 
   102 config CC_LANG_OBJC
   103     bool
   104     prompt "Objective-C"
   105     default n
   106     depends on CC_SUPPORT_OBJC
   107     help
   108       Enable building an Objective C compiler.
   109 
   110       Only select this if you know that your specific version of the
   111       compiler supports this language.
   112 
   113 config CC_LANG_OBJCXX
   114     bool
   115     prompt "Objective-C++"
   116     default n
   117     depends on CC_SUPPORT_OBJCXX
   118     help
   119       Enable building an Objective C++ compiler.
   120 
   121       Only select this if you know that your specific version of the
   122       compiler supports this language.
   123 
   124 config CC_LANG_OTHERS
   125     string
   126     prompt "Other languages"
   127     default ""
   128     help
   129       Enter here a comma-separated list of languages that you know your compiler
   130       supports, besides those listed above.
   131 
   132       Eg. gcc-4.1+ has a toy programming language, treelang. As it is not usefull
   133       in real life, it is not available in the selection above.
   134 
   135 endmenu