config/cc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Oct 14 21:30:27 2008 +0000 (2008-10-14)
changeset 935 e175e3538310
parent 850 ef8549b58b6f
child 1107 80c00c7d8734
permissions -rw-r--r--
Introduce the notion of a 'sample comment'.

- presence of the sample's reported.by file is now mandatory.
- when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file.
- when saving a sample, one can store a few-liner comment.
- when recalling a sample, the reporter name, URL and comment (if present) are printed.
- update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail).
- update all samples that were missing the reported.by file.

/trunk/scripts/saveSample.sh | 46 35 11 0 ++++++++++++++++++------
/trunk/scripts/showSamples.sh | 12 6 6 0 +++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 15 0 0 ++++++++
/trunk/samples/samples.mk | 22 17 5 0 +++++++++--
4 files changed, 73 insertions(+), 22 deletions(-)
     1 # Compiler options
     2 
     3 menu "C compiler"
     4 
     5 config CC
     6     string
     7 
     8 config CC_VERSION
     9     string
    10 
    11 source config.gen/cc.in
    12 
    13 config CC_SUPPORT_CXX
    14     bool
    15 
    16 config CC_SUPPORT_FORTRAN
    17     bool
    18 
    19 config CC_SUPPORT_JAVA
    20     bool
    21 
    22 config CC_SUPPORT_ADA
    23     bool
    24 
    25 config CC_SUPPORT_OBJC
    26     bool
    27 
    28 config CC_SUPPORT_OBJCXX
    29     bool
    30 
    31 if ! BARE_METAL
    32 
    33 comment "Additional supported languages:"
    34 
    35 config CC_LANG_CXX
    36     bool
    37     prompt "C++"
    38     default n
    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 config CC_LANG_FORTRAN
    47     bool
    48     prompt "Fortran"
    49     default n
    50     depends on CC_SUPPORT_FORTRAN
    51     help
    52       Enable building a FORTRAN compiler.
    53 
    54       Only select this if you know that your specific version of the
    55       compiler supports this language.
    56 
    57 config CC_LANG_JAVA
    58     bool
    59     prompt "Java"
    60     default n
    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     default n
    72     depends on CC_SUPPORT_ADA
    73     depends on EXPERIMENTAL
    74     help
    75       Enable building an Ada 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_OBJC
    81     bool
    82     prompt "Objective-C (EXPERIMENTAL)"
    83     default n
    84     depends on CC_SUPPORT_OBJC
    85     depends on EXPERIMENTAL
    86     help
    87       Enable building an Objective C compiler.
    88 
    89       Only select this if you know that your specific version of the
    90       compiler supports this language.
    91 
    92 config CC_LANG_OBJCXX
    93     bool
    94     prompt "Objective-C++ (EXPERIMENTAL)"
    95     depends on EXPERIMENTAL
    96     default n
    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_OTHERS
   105     string
   106     prompt "Other languages (EXPERIMENTAL)"
   107     default ""
   108     depends on EXPERIMENTAL
   109     help
   110       Enter here a comma-separated list of languages that you know your compiler
   111       supports, besides those listed above.
   112 
   113       Eg. gcc-4.1+ has a toy programming language, treelang. As it is not usefull
   114       in real life, it is not available in the selection above.
   115 
   116 endif # ! BARE_METAL
   117 
   118 if BARE_METAL
   119 comment "Only C language supported on bare metal"
   120 endif # BARE_METAL
   121 
   122 endmenu