config/cc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun Jan 05 19:44:45 2014 +0100 (2014-01-05)
changeset 3277 ead33a889ef9
parent 3244 8ff20760e93b
child 3299 1ff943ae14d7
permissions -rw-r--r--
cc/gcc: bump Linaro versions

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     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 config CC_SUPPORT_GOLANG
    35     bool
    36 
    37 comment "Additional supported languages:"
    38 
    39 config CC_LANG_CXX
    40     bool
    41     prompt "C++"
    42     depends on CC_SUPPORT_CXX
    43     help
    44       Enable building a C++ compiler.
    45 
    46       Only select this if you know that your specific version of the
    47       compiler supports this language.
    48 
    49 config CC_LANG_FORTRAN
    50     bool
    51     prompt "Fortran"
    52     depends on CC_SUPPORT_FORTRAN
    53     help
    54       Enable building a FORTRAN compiler.
    55 
    56       Only select this if you know that your specific version of the
    57       compiler supports this language.
    58 
    59 if ! BARE_METAL
    60 
    61 config CC_LANG_JAVA
    62     bool
    63     prompt "Java"
    64     depends on CC_SUPPORT_JAVA
    65     help
    66       Enable building a Java compiler.
    67 
    68       Only select this if you know that your specific version of the
    69       compiler supports this language.
    70 
    71 config CC_LANG_ADA
    72     bool
    73     prompt "ADA (EXPERIMENTAL)"
    74     depends on CC_SUPPORT_ADA
    75     depends on EXPERIMENTAL
    76     help
    77       Enable building an Ada compiler.
    78 
    79       Only select this if you know that your specific version of the
    80       compiler supports this language.
    81 
    82 config CC_LANG_OBJC
    83     bool
    84     prompt "Objective-C (EXPERIMENTAL)"
    85     depends on CC_SUPPORT_OBJC
    86     depends on EXPERIMENTAL
    87     help
    88       Enable building an Objective C compiler.
    89 
    90       Only select this if you know that your specific version of the
    91       compiler supports this language.
    92 
    93 config CC_LANG_OBJCXX
    94     bool
    95     prompt "Objective-C++ (EXPERIMENTAL)"
    96     depends on EXPERIMENTAL
    97     depends on CC_SUPPORT_OBJCXX
    98     help
    99       Enable building an Objective C++ compiler.
   100 
   101       Only select this if you know that your specific version of the
   102       compiler supports this language.
   103 
   104 config CC_LANG_GOLANG
   105     bool
   106     prompt "Go (EXPERIMENTAL)"
   107     depends on EXPERIMENTAL
   108     depends on CC_SUPPORT_GOLANG
   109     help
   110       Enable building a Go 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_OTHERS
   116     string
   117     prompt "Other languages (EXPERIMENTAL)"
   118     default ""
   119     depends on EXPERIMENTAL
   120     help
   121       Enter here a comma-separated list of languages that you know your compiler
   122       supports, besides those listed above.
   123 
   124       Eg. gcc-4.1+ has a toy programming language, treelang. As it is not useful
   125       in real life, it is not available in the selection above.
   126 
   127 endif # ! BARE_METAL
   128 
   129 source "config.gen/cc.in.2"
   130 
   131 endmenu