config/libc/newlib.in.2
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:09:43 2011 +0200 (2011-05-19)
changeset 2462 139b85d70b62
parent 2166 c1fe0639585a
child 2484 d1a8c2ae7946
permissions -rw-r--r--
complibs/ppl: fix 0.11-0.11.2 to compile with --disable-shared

PPL 0.11 (through 0.11.2) had a small bug where it still tried to build
and test its Java interface even when shared libraries are disabled.
Since that's exactly what ct-ng does, it explodes.

This is the patch from the PPL authors (see final link below).

More information can be found in these messages/threads:

Anthony's initial report and analysis with Yann:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00046.html

Ron Flory hit the same problem:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00054.html

Anthony's report to the ppl-devel list:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017450.html

Roberto's reply with a link to the fix in the PPL git repo:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017455.html

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
yann@2165
     1
# newlib second-part options
yann@2165
     2
yann@2167
     3
config LIBC_NEWLIB_IO_C99FMT
yann@2167
     4
    bool
yann@2167
     5
    prompt "Enable IOs on C99 formats"
yann@2167
     6
    default n
yann@2167
     7
    help
yann@2167
     8
      Enable support for IOs on C99 formats.
yann@2167
     9
yann@2166
    10
config LIBC_NEWLIB_IO_LL
yann@2166
    11
    bool
yann@2166
    12
    prompt "Enable IOs on long long"
yann@2166
    13
    default n
yann@2166
    14
    help
yann@2166
    15
      Enable support for IOs on long long integers.
yann@2166
    16
yann@2165
    17
config LIBC_NEWLIB_IO_FLOAT
yann@2165
    18
    bool
yann@2165
    19
    prompt "Enable IOs on floats and doubles"
yann@2165
    20
    default n
yann@2165
    21
    help
yann@2165
    22
      Enable support for IOs on floating point
yann@2165
    23
      values (float and double).
yann@2165
    24
yann@2165
    25
config LIBC_NEWLIB_IO_LDBL
yann@2165
    26
    bool
yann@2165
    27
    prompt "Enable IOs on long doubles"
yann@2165
    28
    default n
yann@2165
    29
    depends on LIBC_NEWLIB_IO_FLOAT
yann@2165
    30
    help
yann@2165
    31
      Enable support for IOs on long doubles.