patches/gcc/4.4.4/320-c99-snprintf.patch
author Bart vdr Meulen <bartvdrmeulen@gmail.com>
Sun Jul 11 21:37:29 2010 +0200 (2010-07-11)
changeset 2019 235d1aa16e00
child 2148 ada9128c98b8
permissions -rw-r--r--
samples: add Linux -> Mingw32 sample

Sample to build compiler targetting mingw32 target systems

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
samples/i686-pc-mingw32/crosstool.config | 302 +++++++++++++++++++++++++++++++
samples/i686-pc-mingw32/reported.by | 3
2 files changed, 305 insertions(+)
create mode 100644 samples/i686-pc-mingw32/crosstool.config
create mode 100644 samples/i686-pc-mingw32/reported.by
     1 diff -durN gcc-4.4.0.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.0/libstdc++-v3/include/c_global/cstdio
     2 
     3 diff -durN gcc-4.4.4.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.4/libstdc++-v3/include/c_global/cstdio
     4 --- gcc-4.4.4.orig/libstdc++-v3/include/c_global/cstdio	2009-04-10 01:23:07.000000000 +0200
     5 +++ gcc-4.4.4/libstdc++-v3/include/c_global/cstdio	2010-05-16 19:37:06.000000000 +0200
     6 @@ -139,7 +139,7 @@
     7  
     8  _GLIBCXX_END_NAMESPACE
     9  
    10 -#if _GLIBCXX_USE_C99
    11 +#if _GLIBCXX_USE_C99 || defined __UCLIBC__
    12  
    13  #undef snprintf
    14  #undef vfscanf