1.1 --- a/config/libc/newlib.in.2 Sat Oct 23 00:54:46 2010 +0200
1.2 +++ b/config/libc/newlib.in.2 Sat Oct 23 00:53:41 2010 +0200
1.3 @@ -1,5 +1,12 @@
1.4 # newlib second-part options
1.5
1.6 +config LIBC_NEWLIB_IO_LL
1.7 + bool
1.8 + prompt "Enable IOs on long long"
1.9 + default n
1.10 + help
1.11 + Enable support for IOs on long long integers.
1.12 +
1.13 config LIBC_NEWLIB_IO_FLOAT
1.14 bool
1.15 prompt "Enable IOs on floats and doubles"
2.1 --- a/scripts/build/libc/newlib.sh Sat Oct 23 00:54:46 2010 +0200
2.2 +++ b/scripts/build/libc/newlib.sh Sat Oct 23 00:53:41 2010 +0200
2.3 @@ -68,6 +68,11 @@
2.4
2.5 CT_DoLog EXTRA "Configuring C library"
2.6
2.7 + if [ "${CT_LIBC_NEWLIB_IO_LL}" = "y" ]; then
2.8 + newlib_opts+=( "--enable-newlib-io-long-long" )
2.9 + else
2.10 + newlib_opts+=( "--disable-newlib-io-long-long" )
2.11 + fi
2.12 if [ "${CT_LIBC_NEWLIB_IO_FLOAT}" = "y" ]; then
2.13 newlib_opts+=( "--enable-newlib-io-float" )
2.14 if [ "${CT_LIBC_NEWLIB_IO_LDBL}" = "y" ]; then