[Frugalware-darcs] frugalware-current: mingw-gcc-3.4.4_20050522_1-1-i686

VMiklos vmiklos at frugalware.org
Sat Oct 15 18:49:13 CEST 2005


Sat Oct 15 18:14:27 CEST 2005  VMiklos <vmiklos at frugalware.org>
  * mingw-gcc-3.4.4_20050522_1-1-i686
  new package
diff -rN -u old-frugalware-current/extra/source/devel/mingw-gcc/FrugalBuild new-frugalware-current-1/extra/source/devel/mingw-gcc/FrugalBuild
--- old-frugalware-current/extra/source/devel/mingw-gcc/FrugalBuild	1970-01-01 01:00:00.000000000 +0100
+++ new-frugalware-current-1/extra/source/devel/mingw-gcc/FrugalBuild	2005-10-15 18:26:05.000000000 +0200
@@ -0,0 +1,35 @@
+# Last Modified: Sat, 15 Oct 2005 18:11:45 +0200
+# Compiling Time: 1.06 SBU
+# Maintainer: VMiklos <vmiklos at frugalware.org>
+
+pkgname=mingw-gcc
+pkgver=3.4.4_20050522_1
+origver=`echo $pkgver|sed 's/_/-/g'`
+pkgrel=1
+pkgdesc="The GNU Compiler Collection - i386-mingw32msvc-gcc only"
+url="http://gcc.gnu.org"
+depends=('mingw-w32api-headers' 'mingw-runtime-headers' 'mingw-binutils')
+groups=('devel-extra')
+archs=('i686')
+up2date="lynx -dump http://sourceforge.net/project/showfiles.php?group_id=2435|grep gcc-|sed 's/.*c-\(.*\)-s.*/\1/;s/-/_/g;q'"
+source=(http://dl.sourceforge.net/sourceforge/mingw/gcc-core-$origver-src.tar.gz $pkgname-$pkgver-unwind.diff mingw.sh)
+sha1sums=('78b78272ca56683281886ccee3a9b3fe001ba5f4' \
+	  '56bc60d4bac2d9e4c3874766af97b99fa1b36f47'
+	  '81d3c12269ec9e56340de7b34a2dedaf4f58fdef')
+
+build()
+{
+	export PATH=$PATH:/usr/lib/mingw/bin:/usr/lib/mingw/i386-mingw32msvc/bin
+	Fcd gcc-$origver
+	Fpatchall
+	./configure --target=i386-mingw32msvc --prefix=/usr/lib/mingw \
+		--enable-languages=c
+	make || return 1
+	Fmakeinstall
+	Frm /usr/lib/mingw/info/dir /usr/lib/mingw/lib/libiberty.a
+	Fexe /etc/profile.d/mingw.sh
+}
+
+# optimalization OK
+
+# vim: ft=sh
diff -rN -u old-frugalware-current/extra/source/devel/mingw-gcc/mingw-gcc-3.4.4_20050522_1-unwind.diff new-frugalware-current-1/extra/source/devel/mingw-gcc/mingw-gcc-3.4.4_20050522_1-unwind.diff
--- old-frugalware-current/extra/source/devel/mingw-gcc/mingw-gcc-3.4.4_20050522_1-unwind.diff	1970-01-01 01:00:00.000000000 +0100
+++ new-frugalware-current-1/extra/source/devel/mingw-gcc/mingw-gcc-3.4.4_20050522_1-unwind.diff	2005-10-15 18:26:05.000000000 +0200
@@ -0,0 +1,12 @@
+diff -Naur gcc-3.4.4-20050522-1.orig/gcc/config/i386/cygming.h gcc-3.4.4-20050522-1/gcc/config/i386/cygming.h
+--- gcc-3.4.4-20050522-1.orig/gcc/config/i386/cygming.h	2004-11-03 09:57:03.000000000 +0100
++++ gcc-3.4.4-20050522-1/gcc/config/i386/cygming.h	2005-10-15 12:44:03.000000000 +0200
+@@ -329,7 +329,7 @@
+ /* DWARF2 Unwinding doesn't work with exception handling yet.  To make
+    it work, we need to build a libgcc_s.dll, and dcrt0.o should be
+    changed to call __register_frame_info/__deregister_frame_info.  */
+-#define DWARF2_UNWIND_INFO 1
++#define DWARF2_UNWIND_INFO 0
+ 
+ /* Don't assume anything about the header files.  */
+ #define NO_IMPLICIT_EXTERN_C
diff -rN -u old-frugalware-current/extra/source/devel/mingw-gcc/mingw.sh new-frugalware-current-1/extra/source/devel/mingw-gcc/mingw.sh
--- old-frugalware-current/extra/source/devel/mingw-gcc/mingw.sh	1970-01-01 01:00:00.000000000 +0100
+++ new-frugalware-current-1/extra/source/devel/mingw-gcc/mingw.sh	2005-10-15 18:26:05.000000000 +0200
@@ -0,0 +1,7 @@
+export PATH=$PATH:/usr/lib/mingw/bin
+export MANPATH=$MANPATH:/usr/lib/mingw/man
+if [ -z "$INFOPATH" ]; then
+	export INFOPATH=/usr/lib/mingw/info
+else
+	export INFOPATH=$INFOPATH:/usr/lib/mingw/info
+fi



More information about the Frugalware-darcs mailing list