config/debug/duma.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jun 20 15:16:43 2008 +0000 (2008-06-20)
changeset 602 1968d150a34f
parent 430 5b7efc8dbf85
child 850 ef8549b58b6f
permissions -rw-r--r--
GMP and MPFR are no longer a sub-component of gcc (config-wise).
Build and install GMP and MPFR for the target.
Use the target GMP and MPFR to build the native gdb.
Have separate extra_config for cross gdb, native gdb and gdbserver.
Check native GMP and MPFR in //.

/trunk/scripts/build/debug/300-gdb.sh | 27 19 8 0 ++++++++++++++++-------
/trunk/scripts/build/gmp.sh | 47 39 8 0 ++++++++++++++++++++++++++++++++-------
/trunk/scripts/build/mpfr.sh | 49 40 9 0 +++++++++++++++++++++++++++++++++--------
/trunk/steps.mk | 2 2 0 0 ++
/trunk/config/cc/gcc.in | 18 1 17 0 +--------------
/trunk/config/debug/gdb.in | 6 1 5 0 +----
/trunk/config/config.in | 1 1 0 0 +
/trunk/config/gmp_mpfr.in | 34 34 0 0 ++++++++++++++++++++++++++++
8 files changed, 137 insertions(+), 47 deletions(-)
     1 # D.U.M.A. - Detect Unintended Memory Access - Memory checker
     2 
     3 menuconfig DUMA
     4     bool
     5     prompt "D.U.M.A."
     6     default n
     7     help
     8       D.U.M.A. - Detect Unintended Memory Access
     9       A memory bound checker, with additional features.
    10       Formerly known as Electric Fence.
    11 
    12 if DUMA
    13 
    14 config DUMA_A
    15     bool
    16     prompt "Build a static library"
    17     default y
    18 
    19 config DUMA_SO
    20     bool
    21     prompt "Build a shared library"
    22     default y if SHARED_LIBS
    23     default n if ! SHARED_LIBS
    24 
    25 choice
    26     bool
    27     prompt "D.U.M.A. version"
    28 
    29 config DUMA_V_2_5_1
    30     bool
    31     prompt "2_5_1"
    32 
    33 config DUMA_V_2_5_8
    34     bool
    35     prompt "2_5_8"
    36 
    37 config DUMA_V_2_5_12
    38     bool
    39     prompt "2_5_12"
    40 
    41 config DUMA_V_2_5_14
    42     bool
    43     prompt "2_5_14"
    44 
    45 # CT_INSERT_VERSION_ABOVE
    46 # Don't remove above line!
    47 endchoice
    48 
    49 config DUMA_VERSION
    50     string
    51     default "2_5_1" if DUMA_V_2_5_1
    52     default "2_5_8" if DUMA_V_2_5_8
    53     default "2_5_12" if DUMA_V_2_5_12
    54     default "2_5_14" if DUMA_V_2_5_14
    55 # CT_INSERT_VERSION_STRING_ABOVE
    56 # Don't remove above line!
    57 
    58 endif