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>
     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.