patches/gcc/4.4.4/220-libiberty-pic.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/libiberty/Makefile.in gcc-4.4.0/libiberty/Makefile.in
     2 
     3 diff -durN gcc-4.4.4.orig/libiberty/Makefile.in gcc-4.4.4/libiberty/Makefile.in
     4 --- gcc-4.4.4.orig/libiberty/Makefile.in	2008-10-22 15:30:19.000000000 +0200
     5 +++ gcc-4.4.4/libiberty/Makefile.in	2010-05-16 19:13:20.000000000 +0200
     6 @@ -227,6 +227,7 @@
     7  	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
     8  	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
     9  	  $(RANLIB) $(TARGETLIB); \
    10 +	  cp $(TARGETLIB) ../ ; \
    11  	  cd ..; \
    12  	else true; fi
    13