SPECS: crossmingw32ce-gcc.spec - gcc part passes with bootstrap - ...

glen glen at pld-linux.org
Tue Feb 27 01:16:15 CET 2007


Author: glen                         Date: Tue Feb 27 00:16:15 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- gcc part passes with bootstrap
- stops at libstdc++-v3 configure
- drop java/objc/fortran packages

---- Files affected:
SPECS:
   crossmingw32ce-gcc.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/crossmingw32ce-gcc.spec
diff -u SPECS/crossmingw32ce-gcc.spec:1.2 SPECS/crossmingw32ce-gcc.spec:1.3
--- SPECS/crossmingw32ce-gcc.spec:1.2	Tue Feb 27 00:38:49 2007
+++ SPECS/crossmingw32ce-gcc.spec	Tue Feb 27 01:16:10 2007
@@ -16,15 +16,8 @@
 Group:		Development/Languages
 #Source0:	ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/gcc-%{version}.tar.bz2
 # https://cegcc.svn.sourceforge.net/svnroot/cegcc/trunk/cegcc/src/gcc
-# Obtained from SVN: tags/gcc_4_1_0_release revision 111560
 Source0:	gcc-20070227.909.tar.bz2
 # Source0-md5:	ece53d2ea4d055f48d4f819922332d21
-%define		apiver	3.7
-Source1:	http://dl.sourceforge.net/mingw/w32api-%{apiver}.tar.gz
-# Source1-md5:	0b3a6d08136581c93b3a3207588acea9
-%define		runver	3.10
-Source2:	http://dl.sourceforge.net/mingw/mingw-runtime-%{runver}.tar.gz
-# Source2-md5:	7fa2638d23136fd84d5d627bef3b408a
 Patch0:		gcc-nodebug.patch
 #Patch1:	crossmingw32-gcc-noioctl.patch
 BuildRequires:	autoconf
@@ -33,12 +26,15 @@
 BuildRequires:	crossmingw32ce-binutils >= 2.15.91.0.2-2
 BuildRequires:	flex
 BuildRequires:	rpmbuild(macros) >= 1.315
-%if %{without bootstrap}
+%if %{with bootstrap}
+# download rpm from http://cegcc.sourceforge.net/
+BuildRequires:	cegcc
+%else
 BuildRequires:	crossmingw32ce-runtime >= 3.5
 BuildRequires:	crossmingw32ce-w32api >= 3.1
 %endif
-BuildRequires:	mpfr-devel
-Requires:	crossmingw32-binutils >= 2.15.91.0.2-2
+#BuildRequires:	mpfr-devel
+Requires:	crossmingw32ce-binutils >= 2.15.91.0.2-2
 Requires:	gcc-dirs
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -102,97 +98,20 @@
 Ten pakiet zawiera g++ generujące kod pod Win32 oraz bibliotekę
 libstdc++.
 
-# does this even work?
-%package objc
-Summary:	Mingw32 binary utility development utilities - objc
-Summary(pl.UTF-8):	Zestaw narzędzi mingw32 - objc
-Group:		Development/Languages
-Requires:	%{name} = %{version}-%{release}
-
-%description objc
-crossmingw32 is a complete cross-compiling development system for
-building stand-alone Microsoft Windows applications under Linux using
-the Mingw32 build libraries. This includes a binutils, gcc with g++
-and objc, and libstdc++, all cross targeted to i386-mingw32, along
-with supporting Win32 libraries in 'coff' format from free sources.
-
-This package contains cross targeted objc compiler.
-
-%description objc -l pl.UTF-8
-crossmingw32 jest kompletnym systemem do kompilacji skrośnej,
-pozwalającym budować aplikacje MS Windows pod Linuksem używając
-bibliotek mingw32. System składa się z binutils, gcc z g++ i objc,
-libstdc++ - wszystkie generujące kod dla platformy i386-mingw32, oraz
-z bibliotek w formacie COFF.
-
-Ten pakiet zawiera kompilator objc generujący kod pod Win32.
-
-# does this even work?
-%package fortran
-Summary:	Mingw32 binary utility development utilities - Fortran
-Summary(pl.UTF-8):	Zestaw narzędzi mingw32 - Fortran
-Group:		Development/Languages
-Requires:	%{name} = %{version}-%{release}
-
-%description fortran
-crossmingw32 is a complete cross-compiling development system for
-building stand-alone Microsoft Windows applications under Linux using
-the Mingw32 build libraries. This includes a binutils, gcc with g++
-and objc, and libstdc++, all cross targeted to i386-mingw32, along
-with supporting Win32 libraries in 'coff' format from free sources.
-
-This package contains cross targeted Fortran compiler.
-
-%description fortran -l pl.UTF-8
-crossmingw32 jest kompletnym systemem do kompilacji skrośnej,
-pozwalającym budować aplikacje MS Windows pod Linuksem używając
-bibliotek mingw32. System składa się z binutils, gcc z g++ i objc,
-libstdc++ - wszystkie generujące kod dla platformy i386-mingw32, oraz
-z bibliotek w formacie COFF.
-
-Ten pakiet zawiera kompilator Fortranu generujący kod pod Win32.
-
-# does this even work?
-%package java
-Summary:	Mingw32 binary utility development utilities - Java
-Summary(pl.UTF-8):	Zestaw narzędzi mingw32 - Java
-Group:		Development/Languages
-Requires:	%{name} = %{version}-%{release}
-
-%description java
-crossmingw32 is a complete cross-compiling development system for
-building stand-alone Microsoft Windows applications under Linux using
-the Mingw32 build libraries. This includes a binutils, gcc with g++
-and objc, and libstdc++, all cross targeted to i386-mingw32, along
-with supporting Win32 libraries in 'coff' format from free sources.
-
-This package contains cross targeted Java compiler.
-
-%description java -l pl.UTF-8
-
-crossmingw32 jest kompletnym systemem do kompilacji skrośnej,
-pozwalającym budować aplikacje MS Windows pod Linuksem używając
-bibliotek mingw32. System składa się z binutils, gcc z g++ i objc,
-libstdc++ - wszystkie generujące kod dla platformy i386-mingw32, oraz
-z bibliotek w formacie COFF.
-
-Ten pakiet zawiera kompilator Javy generujący kod pod Win32.
-
 %prep
 %setup -q -n gcc
 %if %{with bootstrap}
-mkdir winsup
-tar xzf %{SOURCE1} -C winsup
-tar xzf %{SOURCE2} -C winsup
+install -d winsup/w32api
+ln -s /usr/ppc/%{target}/include/w32api winsup/w32api/include
 %endif
 #{!?debug:%patch0 -p1}
 #%patch1 -p1
 
 %build
 %if %{with bootstrap}
-for tool in as ar dlltool ld nm ranlib strip ; do
-	ln -sf %{arch}/bin/$tool winsup/bin/$tool
-done
+#for tool in as ar dlltool ld nm ranlib strip; do
+#	ln -sf %{arch}/bin/$tool winsup/bin/$tool
+#done
 build_tooldir=`pwd`/winsup
 %else
 build_tooldir=%{arch}
@@ -332,50 +251,17 @@
 %{arch}/include/g++
 %{_mandir}/man1/%{target}-g++.1*
 
-%files objc
-%defattr(644,root,root,755)
-%attr(755,root,root) %{gcclib}/cc1obj
-%{arch}/lib/libobjc.a
-%{arch}/lib/libobjc.la
-
-%files fortran
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/%{target}-gfortran
-%attr(755,root,root) %{arch}/bin/gfortran
-%attr(755,root,root) %{gcclib}/f951
-%{arch}/lib/libgfortran.a
-%{arch}/lib/libgfortran.la
-%{arch}/lib/libgfortranbegin.a
-%{arch}/lib/libgfortranbegin.la
-%{_mandir}/man1/%{target}-gfortran.1*
-
-%files java
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/%{target}-gcj
-%attr(755,root,root) %{_bindir}/%{target}-gcjh
-%attr(755,root,root) %{_bindir}/%{target}-gjnih
-%attr(755,root,root) %{_bindir}/%{target}-grepjar
-%attr(755,root,root) %{_bindir}/%{target}-fastjar
-%attr(755,root,root) %{_bindir}/%{target}-jcf-dump
-%attr(755,root,root) %{_bindir}/%{target}-jv-scan
-#%attr(755,root,root) %{arch}/bin/grepjar
-#%attr(755,root,root) %{arch}/bin/jar
-%attr(755,root,root) %{gcclib}/jc1
-%attr(755,root,root) %{gcclib}/jvgenmain
-%{_mandir}/man1/%{target}-gcj.1*
-%{_mandir}/man1/%{target}-gcjh.1*
-%{_mandir}/man1/%{target}-gjnih.1*
-%{_mandir}/man1/%{target}-grepjar.1*
-%{_mandir}/man1/%{target}-fastjar.1*
-%{_mandir}/man1/%{target}-jcf-dump.1*
-%{_mandir}/man1/%{target}-jv-scan.1*
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/02/27 00:16:10  glen
+- gcc part passes with bootstrap
+- stops at libstdc++-v3 configure
+- drop java/objc/fortran packages
+
 Revision 1.2  2007/02/26 23:38:49  glen
 - use source from cegcc svn
 - utf8 spec
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/crossmingw32ce-gcc.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list