config/global/ct-behave.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Mar 26 18:47:34 2009 +0000 (2009-03-26)
changeset 1268 5594b05bc2d8
parent 914 0b164a321177
child 1300 7acdd1de5b50
permissions -rw-r--r--
Add support for building toolchains with gcc-4.4 snapshots.
Initial patch by Dmitry PLOTNIKOV: http://sourceware.org/ml/crossgcc/2009-03/msg00053.html
It [the toolchain] uses current ct-ng (nightly snapshot 20090324, latest
release 1.3.2 work also), glibc 2.9 (from CVS), binutils 2.19 and latest
snapshot of GCC 4.4.0 (as of March 20, 2009).

We have successfully built linux kernel 2.6.29 and a lot of other stuff
with this toolchain.

Here's the patch that adds GCC 4.4.0 to the ct-ng menu and enables it to
download a 4.4.0 snapshot from ftp.

Patch was adpated by me, mostly to better fit the configuration layout.

/trunk/scripts/build/cc/gcc.sh | 34 22 12 0 ++++++++++++++++++++++------------
/trunk/config/cc/gcc.in | 35 30 5 0 ++++++++++++++++++++++++++++++-----
2 files changed, 52 insertions(+), 17 deletions(-)
yann@445
     1
# Options specific to crosstool-NG overall behavior
yann@1
     2
yann@197
     3
comment "crosstool-NG behavior"
yann@121
     4
yann@244
     5
config OBSOLETE
yann@244
     6
    bool
yann@244
     7
    prompt "Use obsolete features"
yann@244
     8
    default n
yann@244
     9
    help
yann@244
    10
      If you set this to Y, you will be able to select obsolete features.
yann@445
    11
yann@244
    12
      Such obsolete features are the use of old kernel headers, old
yann@244
    13
      gcc versions, etc...
yann@244
    14
yann@41
    15
config EXPERIMENTAL
yann@41
    16
    bool
yann@41
    17
    prompt "Try features marked as EXPERIMENTAL"
yann@41
    18
    default n
yann@41
    19
    help
yann@41
    20
      If you set this to Y, then you will be able to try very experimental
yann@41
    21
      features.
yann@445
    22
yann@41
    23
      Experimental features can be one of:
yann@41
    24
        - working, in which case you should tell me it is!
yann@41
    25
        - buggy, in which case you could try patching and send me the result
yann@41
    26
        - unfinished, in which case you could try hacking it and send me the result
yann@384
    27
        - non-existant, in which case you could also try hacking it in and send me
yann@384
    28
          the result
yann@41
    29
yann@121
    30
config DEBUG_CT
yann@121
    31
    bool
yann@121
    32
    prompt "Debug crosstool-NG"
yann@121
    33
    default n
yann@121
    34
    help
yann@121
    35
      Say 'y' here to get some debugging options
yann@121
    36
yann@121
    37
if DEBUG_CT
yann@121
    38
yann@725
    39
config DEBUG_PAUSE_STEPS
yann@121
    40
    bool
yann@121
    41
    prompt "Pause between every steps"
yann@121
    42
    default n
yann@121
    43
    help
yann@121
    44
      Say 'y' if you intend to attend the build, and want to investigate
yann@121
    45
      the result of each steps before running the next one.
yann@121
    46
yann@121
    47
config DEBUG_CT_SAVE_STEPS
yann@121
    48
    bool
yann@121
    49
    prompt "Save intermediate steps"
yann@121
    50
    default n
yann@121
    51
    help
yann@121
    52
      If you say 'y' here, then you will be able to restart crosstool-NG at
yann@168
    53
      any step.
yann@445
    54
yann@445
    55
      It is not currently possible to restart at any of the debug facility.
yann@168
    56
      They are treated as a whole.
yann@168
    57
yann@168
    58
      See docs/overview.txt for the list of steps.
yann@121
    59
yann@121
    60
config DEBUG_CT_SAVE_STEPS_GZIP
yann@121
    61
    bool
yann@121
    62
    prompt "gzip saved states"
yann@121
    63
    default y
yann@121
    64
    depends on DEBUG_CT_SAVE_STEPS
yann@121
    65
    help
yann@121
    66
      If you are tight on space, then you can ask to gzip the saved states
yann@121
    67
      tarballs. On the other hand, this takes some longer time...
yann@445
    68
yann@121
    69
      To lose as less time as possible, the gzip process is done with a low
yann@121
    70
      compression ratio (-3), which gives roughly 70% gain in size. Going
yann@121
    71
      further doesn't gain much, and takes far more time (believe me, I've
yann@121
    72
      got figures here! :-) ).
yann@121
    73
yann@1064
    74
config NO_OVERIDE_LC_MESSAGES
yann@1064
    75
    bool
yann@1064
    76
    prompt "Do *not* overide LC_MESSAGES (EXPERIMENTAL)"
yann@1064
    77
    depends on EXPERIMENTAL
yann@1064
    78
    default n
yann@1064
    79
    help
yann@1064
    80
      By default, crosstool-NG sets and exports LC_ALL=C so that the
yann@1064
    81
      build.log file contains english messages, that can be read by
yann@1064
    82
      people most likely to help interpret the logs. If you say N here,
yann@1064
    83
      and your locale is not an english language, then dissecting your
yann@1064
    84
      log file will be difficult for most people but you.
yann@1064
    85
      
yann@1064
    86
      If you say Y here, then your current locale settings will be used
yann@1064
    87
      to print messages, instead of plain english.
yann@1064
    88
      
yann@1064
    89
      Say N, please.
yann@1064
    90
yann@121
    91
endif