config/cc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun Mar 03 22:24:40 2013 +0100 (2013-03-03)
changeset 3195 cbaf37cc20b7
parent 2564 5d4e91c0343e
child 3244 8ff20760e93b
permissions -rw-r--r--
libc/glibc: do not overwrite existing bits/syscall.h

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Rafael C <groups.r2@gmail.com>
Cc: Jérôme BARDON <bardon.pro@gmail.com>
Cc: Daniel Price <daniel.price@gmail.com>
     1 # Compiler options
     2 
     3 menu "C compiler"
     4 
     5 config CC
     6     string
     7 
     8 config CC_VERSION
     9     string
    10 
    11 config CC_CORE_PASSES_NEEDED
    12 	bool
    13 
    14 source "config.gen/cc.in"
    15 
    16 config CC_SUPPORT_CXX
    17     bool
    18 
    19 config CC_SUPPORT_FORTRAN
    20     bool
    21 
    22 config CC_SUPPORT_JAVA
    23     bool
    24 
    25 config CC_SUPPORT_ADA
    26     bool
    27 
    28 config CC_SUPPORT_OBJC
    29     bool
    30 
    31 config CC_SUPPORT_OBJCXX
    32     bool
    33 
    34 comment "Additional supported languages:"
    35 
    36 config CC_LANG_CXX
    37     bool
    38     prompt "C++"
    39     depends on CC_SUPPORT_CXX
    40     help
    41       Enable building a C++ compiler.
    42 
    43       Only select this if you know that your specific version of the
    44       compiler supports this language.
    45 
    46 if ! BARE_METAL
    47 
    48 config CC_LANG_FORTRAN
    49     bool
    50     prompt "Fortran"
    51     depends on CC_SUPPORT_FORTRAN
    52     help
    53       Enable building a FORTRAN compiler.
    54 
    55       Only select this if you know that your specific version of the
    56       compiler supports this language.
    57 
    58 config CC_LANG_JAVA
    59     bool
    60     prompt "Java"
    61     depends on CC_SUPPORT_JAVA
    62     help
    63       Enable building a Java compiler.
    64 
    65       Only select this if you know that your specific version of the
    66       compiler supports this language.
    67 
    68 config CC_LANG_ADA
    69     bool
    70     prompt "ADA (EXPERIMENTAL)"
    71     depends on CC_SUPPORT_ADA
    72     depends on EXPERIMENTAL
    73     help
    74       Enable building an Ada compiler.
    75 
    76       Only select this if you know that your specific version of the
    77       compiler supports this language.
    78 
    79 config CC_LANG_OBJC
    80     bool
    81     prompt "Objective-C (EXPERIMENTAL)"
    82     depends on CC_SUPPORT_OBJC
    83     depends on EXPERIMENTAL
    84     help
    85       Enable building an Objective C compiler.
    86 
    87       Only select this if you know that your specific version of the
    88       compiler supports this language.
    89 
    90 config CC_LANG_OBJCXX
    91     bool
    92     prompt "Objective-C++ (EXPERIMENTAL)"
    93     depends on EXPERIMENTAL
    94     depends on CC_SUPPORT_OBJCXX
    95     help
    96       Enable building an Objective C++ compiler.
    97 
    98       Only select this if you know that your specific version of the
    99       compiler supports this language.
   100 
   101 config CC_LANG_OTHERS
   102     string
   103     prompt "Other languages (EXPERIMENTAL)"
   104     default ""
   105     depends on EXPERIMENTAL
   106     help
   107       Enter here a comma-separated list of languages that you know your compiler
   108       supports, besides those listed above.
   109 
   110       Eg. gcc-4.1+ has a toy programming language, treelang. As it is not useful
   111       in real life, it is not available in the selection above.
   112 
   113 endif # ! BARE_METAL
   114 
   115 source "config.gen/cc.in.2"
   116 
   117 endmenu