config/libc/newlib.in.2
author Esben Haabendal <esben.haabendal@prevas.dk>
Wed Sep 26 16:41:02 2012 +0200 (2012-09-26)
changeset 3077 0e06812acc5c
parent 2781 504b0759c149
permissions -rw-r--r--
libc/uClibc: add workaround patch for ICE in m68k builds

This patch/workaround is similar to the one proposed in
http://www.mail-archive.com/uclibc@uclibc.org/msg02475.html

Bug reproduced with GCC 4.6.3.

[ALL ] In file included from libc/inet/inet_ntoa.c:8:0:
[ALL ] libc/inet/addr.c: In function 'inet_ntoa_r':
[ALL ] libc/inet/addr.c:135:1: warning: visibility attribute not supported in this configuration; ignored [-Wattri
butes]
[ERROR] libc/inet/addr.c:135:1: internal compiler error: in output_move_qimode, at config/m68k/m68k.c:3160

Signed-off-by: "Esben Haabendal" <esben@haabendal.dk>
Message-Id: <87sja4d1ke.fsf@arh128.prevas.dk>
Patchwork-Id: 187181
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
    help
yann@2167
     7
      Enable support for IOs on C99 formats.
yann@2167
     8
yann@2166
     9
config LIBC_NEWLIB_IO_LL
yann@2166
    10
    bool
yann@2166
    11
    prompt "Enable IOs on long long"
yann@2166
    12
    help
yann@2166
    13
      Enable support for IOs on long long integers.
yann@2166
    14
yann@2165
    15
config LIBC_NEWLIB_IO_FLOAT
yann@2165
    16
    bool
yann@2165
    17
    prompt "Enable IOs on floats and doubles"
yann@2165
    18
    help
yann@2165
    19
      Enable support for IOs on floating point
yann@2165
    20
      values (float and double).
yann@2165
    21
yann@2165
    22
config LIBC_NEWLIB_IO_LDBL
yann@2165
    23
    bool
yann@2165
    24
    prompt "Enable IOs on long doubles"
yann@2165
    25
    depends on LIBC_NEWLIB_IO_FLOAT
yann@2165
    26
    help
yann@2165
    27
      Enable support for IOs on long doubles.
kpet@2647
    28
kpet@2647
    29
config LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS
kpet@2647
    30
    bool
kpet@2647
    31
    prompt "Disable the syscalls supplied with newlib"
kpet@2647
    32
    help
kpet@2647
    33
      Disable the syscalls that come with newlib. You
kpet@2647
    34
	  will have to implement your own _sbrk, _read,
kpet@2647
    35
	  _write... If you plan to port newlib to a new
kpet@2647
    36
	  platform/board, say Yes.
kpet@2647
    37
zhenqiang@2783
    38
config LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE
zhenqiang@2783
    39
    bool
zhenqiang@2783
    40
    prompt "Optimize newlib for size"
zhenqiang@2783
    41
    default y
zhenqiang@2783
    42
    help
zhenqiang@2783
    43
      Pass --enable-target-optspace to newlib configure.
zhenqiang@2783
    44
      
zhenqiang@2783
    45
      This will compile newlib with -Os.
zhenqiang@2783
    46
zhenqiang@2781
    47
config LIBC_NEWLIB_EXTRA_CONFIG_ARRAY
zhenqiang@2781
    48
    string
zhenqiang@2781
    49
    prompt "Extra config for newlib"
zhenqiang@2781
    50
    default ""
zhenqiang@2781
    51
    help
zhenqiang@2781
    52
      Extra flags to pass onto ./configure when configuring the newlib.