config/libc/newlib.in.2
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Nov 23 21:35:28 2010 +0100 (2010-11-23)
branch1.9
changeset 2198 6d909657dbdf
parent 2166 c1fe0639585a
child 2484 d1a8c2ae7946
permissions -rw-r--r--
scripts/xldd: better find sysroot with old gcc

Only starting with 4.4 does gcc have a -print-sysroot option.
For 4.3 or before, we have to play some tricks:
- ask gcc where libc.so is,
(we expect it in ${sysroot}/usr/lib/libc.so)
- trim /usr/lib/libc.so from the result

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from aa2305c5b2a57fbcda9a1b5bb5fb3a476ac49a13)
     1 # newlib second-part options
     2 
     3 config LIBC_NEWLIB_IO_C99FMT
     4     bool
     5     prompt "Enable IOs on C99 formats"
     6     default n
     7     help
     8       Enable support for IOs on C99 formats.
     9 
    10 config LIBC_NEWLIB_IO_LL
    11     bool
    12     prompt "Enable IOs on long long"
    13     default n
    14     help
    15       Enable support for IOs on long long integers.
    16 
    17 config LIBC_NEWLIB_IO_FLOAT
    18     bool
    19     prompt "Enable IOs on floats and doubles"
    20     default n
    21     help
    22       Enable support for IOs on floating point
    23       values (float and double).
    24 
    25 config LIBC_NEWLIB_IO_LDBL
    26     bool
    27     prompt "Enable IOs on long doubles"
    28     default n
    29     depends on LIBC_NEWLIB_IO_FLOAT
    30     help
    31       Enable support for IOs on long doubles.