Changeset 96a0c2ae in rtems
- Timestamp:
- Aug 1, 2011, 4:58:28 AM (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 3ca8c6bc
- Parents:
- c05fad28
- Location:
- contrib/crossrpms
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec
rc05fad28 r96a0c2ae 42 42 Group: Development/Tools 43 43 Version: %{gcc_rpmvers} 44 Release: 0.20110 321.1%{?dist}44 Release: 0.20110731.0%{?dist} 45 45 License: GPL 46 46 URL: http://gcc.gnu.org … … 65 65 # Should be applicable to gcc >= 4.5.0 66 66 %bcond_with gcc_stdint 67 68 # EXPERIMENTAL: Enable newlib's iconv 69 %bcond_without iconv 67 70 68 71 # versions of libraries, we conditionally bundle if necessary … … 73 76 74 77 # versions of libraries these distros are known to ship 78 %if 0%{?fc16} 79 %global mpc_provided 0.8.3 80 %global mpfr_provided 3.0.0 81 %global gmp_provided 4.3.2 82 %endif 83 75 84 %if 0%{?fc15} 76 85 %global mpc_provided 0.8.3 … … 85 94 %endif 86 95 87 %if 0%{?fc13}88 %global mpc_provided 0.8.189 %global mpfr_provided 2.4.290 %global gmp_provided 4.3.191 %endif92 93 96 %if 0%{?el6} 94 97 %global mpc_provided %{nil} … … 103 106 %endif 104 107 105 %if 0%{?suse11_2}106 %global mpc_provided 0.7107 %global mpfr_provided 2.4.1108 %global gmp_provided 4.3.1109 %endif110 111 108 %if 0%{?suse11_3} 112 109 %global mpc_provided 0.8.1 … … 195 192 196 193 %if %{defined cloog_required} 197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}198 194 %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} 199 195 %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} 196 %{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} 200 197 %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} 201 198 %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 202 199 %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}204 200 %endif 205 201 … … 349 345 languages="c" 350 346 languages="$languages,c++" 351 case i586-pc-freebsd6.4 in352 *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;353 esac354 347 languages="$languages,fortran" 355 348 languages="$languages,objc" … … 383 376 %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \ 384 377 %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \ 385 --enable-languages="$languages" $optargs378 --enable-languages="$languages" 386 379 387 380 %if "%_host" != "%_build" … … 432 425 rm -rf $RPM_BUILD_ROOT%{_mandir}/man7 433 426 427 # We don't want libffi's man-pages 428 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi* 429 434 430 # Bug in gcc-3.4.0pre 435 431 rm -f $RPM_BUILD_ROOT%{_bindir}/i586-pc-freebsd6.4-i586-pc-freebsd6.4-gcjh%{_exeext} … … 445 441 fi 446 442 443 %if ! %{with pygdb} 447 444 # gcc >= 4.5.0: installs weird libstdc++ python bindings. 448 %if ! %{with pygdb}449 445 if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then 450 446 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx 451 447 fi 452 %endif 453 448 449 %endif 454 450 # Collect multilib subdirectories 455 451 multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'` … … 473 469 cp dirs build/files.gcj 474 470 cp dirs build/files.g++ 471 cp dirs build/files.go 475 472 476 473 TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}" … … 486 483 *collect2) ;; 487 484 *libobjc*) echo "$i" >> build/files.objc ;; 485 *go1) ;; # ignore: explicitly put into rpm elsewhere 488 486 *include/objc*) ;; 489 487 *include/g++*);; … … 491 489 *include-fixed/*);; 492 490 *finclude/*);; 491 */go/*) ;; # ignore : explicitly put into rpm elsewhere 493 492 *adainclude*);; 494 493 *adalib*);; … … 497 496 *jvgenmain) ;; 498 497 */libgfortran*.*) echo "$i" >> build/files.gfortran ;; 498 */libgo*.a) echo "$i" >> build/files.go ;; 499 499 %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now 500 500 %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;} … … 622 622 %{_bindir}/i586-pc-freebsd6.4-gcc-%{gcc_version}%{_exeext} 623 623 %{_bindir}/i586-pc-freebsd6.4-gcov%{_exeext} 624 %if "%{gcc_version}" < "4.6.0" 624 625 %{_bindir}/i586-pc-freebsd6.4-gccbug 626 %endif 625 627 626 628 %dir %{_libexecdir}/gcc -
contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec
rc05fad28 r96a0c2ae 42 42 Group: Development/Tools 43 43 Version: %{gcc_rpmvers} 44 Release: 0.20110 321.1%{?dist}44 Release: 0.20110731.0%{?dist} 45 45 License: GPL 46 46 URL: http://gcc.gnu.org … … 65 65 # Should be applicable to gcc >= 4.5.0 66 66 %bcond_with gcc_stdint 67 68 # EXPERIMENTAL: Enable newlib's iconv 69 %bcond_without iconv 67 70 68 71 # versions of libraries, we conditionally bundle if necessary … … 73 76 74 77 # versions of libraries these distros are known to ship 78 %if 0%{?fc16} 79 %global mpc_provided 0.8.3 80 %global mpfr_provided 3.0.0 81 %global gmp_provided 4.3.2 82 %endif 83 75 84 %if 0%{?fc15} 76 85 %global mpc_provided 0.8.3 … … 85 94 %endif 86 95 87 %if 0%{?fc13}88 %global mpc_provided 0.8.189 %global mpfr_provided 2.4.290 %global gmp_provided 4.3.191 %endif92 93 96 %if 0%{?el6} 94 97 %global mpc_provided %{nil} … … 103 106 %endif 104 107 105 %if 0%{?suse11_2}106 %global mpc_provided 0.7107 %global mpfr_provided 2.4.1108 %global gmp_provided 4.3.1109 %endif110 111 108 %if 0%{?suse11_3} 112 109 %global mpc_provided 0.8.1 … … 195 192 196 193 %if %{defined cloog_required} 197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}198 194 %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} 199 195 %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} 196 %{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} 200 197 %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} 201 198 %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 202 199 %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}204 200 %endif 205 201 … … 349 345 languages="c" 350 346 languages="$languages,c++" 351 case i586-pc-freebsd7.3 in352 *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;353 esac354 347 languages="$languages,fortran" 355 348 languages="$languages,objc" … … 383 376 %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \ 384 377 %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \ 385 --enable-languages="$languages" $optargs378 --enable-languages="$languages" 386 379 387 380 %if "%_host" != "%_build" … … 432 425 rm -rf $RPM_BUILD_ROOT%{_mandir}/man7 433 426 427 # We don't want libffi's man-pages 428 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi* 429 434 430 # Bug in gcc-3.4.0pre 435 431 rm -f $RPM_BUILD_ROOT%{_bindir}/i586-pc-freebsd7.3-i586-pc-freebsd7.3-gcjh%{_exeext} … … 445 441 fi 446 442 443 %if ! %{with pygdb} 447 444 # gcc >= 4.5.0: installs weird libstdc++ python bindings. 448 %if ! %{with pygdb}449 445 if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then 450 446 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx 451 447 fi 452 %endif 453 448 449 %endif 454 450 # Collect multilib subdirectories 455 451 multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'` … … 473 469 cp dirs build/files.gcj 474 470 cp dirs build/files.g++ 471 cp dirs build/files.go 475 472 476 473 TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd7.3/%{gcc_version}" … … 486 483 *collect2) ;; 487 484 *libobjc*) echo "$i" >> build/files.objc ;; 485 *go1) ;; # ignore: explicitly put into rpm elsewhere 488 486 *include/objc*) ;; 489 487 *include/g++*);; … … 491 489 *include-fixed/*);; 492 490 *finclude/*);; 491 */go/*) ;; # ignore : explicitly put into rpm elsewhere 493 492 *adainclude*);; 494 493 *adalib*);; … … 497 496 *jvgenmain) ;; 498 497 */libgfortran*.*) echo "$i" >> build/files.gfortran ;; 498 */libgo*.a) echo "$i" >> build/files.go ;; 499 499 %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now 500 500 %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;} … … 622 622 %{_bindir}/i586-pc-freebsd7.3-gcc-%{gcc_version}%{_exeext} 623 623 %{_bindir}/i586-pc-freebsd7.3-gcov%{_exeext} 624 %if "%{gcc_version}" < "4.6.0" 624 625 %{_bindir}/i586-pc-freebsd7.3-gccbug 626 %endif 625 627 626 628 %dir %{_libexecdir}/gcc -
contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec
rc05fad28 r96a0c2ae 42 42 Group: Development/Tools 43 43 Version: %{gcc_rpmvers} 44 Release: 0.20110 321.1%{?dist}44 Release: 0.20110731.0%{?dist} 45 45 License: GPL 46 46 URL: http://gcc.gnu.org … … 65 65 # Should be applicable to gcc >= 4.5.0 66 66 %bcond_with gcc_stdint 67 68 # EXPERIMENTAL: Enable newlib's iconv 69 %bcond_without iconv 67 70 68 71 # versions of libraries, we conditionally bundle if necessary … … 73 76 74 77 # versions of libraries these distros are known to ship 78 %if 0%{?fc16} 79 %global mpc_provided 0.8.3 80 %global mpfr_provided 3.0.0 81 %global gmp_provided 4.3.2 82 %endif 83 75 84 %if 0%{?fc15} 76 85 %global mpc_provided 0.8.3 … … 85 94 %endif 86 95 87 %if 0%{?fc13}88 %global mpc_provided 0.8.189 %global mpfr_provided 2.4.290 %global gmp_provided 4.3.191 %endif92 93 96 %if 0%{?el6} 94 97 %global mpc_provided %{nil} … … 103 106 %endif 104 107 105 %if 0%{?suse11_2}106 %global mpc_provided 0.7107 %global mpfr_provided 2.4.1108 %global gmp_provided 4.3.1109 %endif110 111 108 %if 0%{?suse11_3} 112 109 %global mpc_provided 0.8.1 … … 195 192 196 193 %if %{defined cloog_required} 197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}198 194 %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} 199 195 %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} 196 %{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} 200 197 %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} 201 198 %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 202 199 %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}204 200 %endif 205 201 … … 349 345 languages="c" 350 346 languages="$languages,c++" 351 case i586-pc-freebsd8.2 in352 *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;353 esac354 347 languages="$languages,fortran" 355 348 languages="$languages,objc" … … 383 376 %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \ 384 377 %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \ 385 --enable-languages="$languages" $optargs378 --enable-languages="$languages" 386 379 387 380 %if "%_host" != "%_build" … … 432 425 rm -rf $RPM_BUILD_ROOT%{_mandir}/man7 433 426 427 # We don't want libffi's man-pages 428 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi* 429 434 430 # Bug in gcc-3.4.0pre 435 431 rm -f $RPM_BUILD_ROOT%{_bindir}/i586-pc-freebsd8.2-i586-pc-freebsd8.2-gcjh%{_exeext} … … 445 441 fi 446 442 443 %if ! %{with pygdb} 447 444 # gcc >= 4.5.0: installs weird libstdc++ python bindings. 448 %if ! %{with pygdb}449 445 if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then 450 446 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx 451 447 fi 452 %endif 453 448 449 %endif 454 450 # Collect multilib subdirectories 455 451 multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'` … … 473 469 cp dirs build/files.gcj 474 470 cp dirs build/files.g++ 471 cp dirs build/files.go 475 472 476 473 TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}" … … 486 483 *collect2) ;; 487 484 *libobjc*) echo "$i" >> build/files.objc ;; 485 *go1) ;; # ignore: explicitly put into rpm elsewhere 488 486 *include/objc*) ;; 489 487 *include/g++*);; … … 491 489 *include-fixed/*);; 492 490 *finclude/*);; 491 */go/*) ;; # ignore : explicitly put into rpm elsewhere 493 492 *adainclude*);; 494 493 *adalib*);; … … 497 496 *jvgenmain) ;; 498 497 */libgfortran*.*) echo "$i" >> build/files.gfortran ;; 498 */libgo*.a) echo "$i" >> build/files.go ;; 499 499 %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now 500 500 %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;} … … 622 622 %{_bindir}/i586-pc-freebsd8.2-gcc-%{gcc_version}%{_exeext} 623 623 %{_bindir}/i586-pc-freebsd8.2-gcov%{_exeext} 624 %if "%{gcc_version}" < "4.6.0" 624 625 %{_bindir}/i586-pc-freebsd8.2-gccbug 626 %endif 625 627 626 628 %dir %{_libexecdir}/gcc -
contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec
rc05fad28 r96a0c2ae 42 42 Group: Development/Tools 43 43 Version: %{gcc_rpmvers} 44 Release: 0.20110 321.1%{?dist}44 Release: 0.20110731.0%{?dist} 45 45 License: GPL 46 46 URL: http://gcc.gnu.org … … 65 65 # Should be applicable to gcc >= 4.5.0 66 66 %bcond_with gcc_stdint 67 68 # EXPERIMENTAL: Enable newlib's iconv 69 %bcond_without iconv 67 70 68 71 # versions of libraries, we conditionally bundle if necessary … … 73 76 74 77 # versions of libraries these distros are known to ship 78 %if 0%{?fc16} 79 %global mpc_provided 0.8.3 80 %global mpfr_provided 3.0.0 81 %global gmp_provided 4.3.2 82 %endif 83 75 84 %if 0%{?fc15} 76 85 %global mpc_provided 0.8.3 … … 85 94 %endif 86 95 87 %if 0%{?fc13}88 %global mpc_provided 0.8.189 %global mpfr_provided 2.4.290 %global gmp_provided 4.3.191 %endif92 93 96 %if 0%{?el6} 94 97 %global mpc_provided %{nil} … … 103 106 %endif 104 107 105 %if 0%{?suse11_2}106 %global mpc_provided 0.7107 %global mpfr_provided 2.4.1108 %global gmp_provided 4.3.1109 %endif110 111 108 %if 0%{?suse11_3} 112 109 %global mpc_provided 0.8.1 … … 195 192 196 193 %if %{defined cloog_required} 197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}198 194 %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} 199 195 %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} 196 %{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} 200 197 %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} 201 198 %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 202 199 %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}204 200 %endif 205 201 … … 349 345 languages="c" 350 346 languages="$languages,c++" 351 case amd64-pc-freebsd8.2 in352 *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;353 esac354 347 languages="$languages,fortran" 355 348 languages="$languages,objc" … … 383 376 %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \ 384 377 %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \ 385 --enable-languages="$languages" $optargs378 --enable-languages="$languages" 386 379 387 380 %if "%_host" != "%_build" … … 432 425 rm -rf $RPM_BUILD_ROOT%{_mandir}/man7 433 426 427 # We don't want libffi's man-pages 428 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi* 429 434 430 # Bug in gcc-3.4.0pre 435 431 rm -f $RPM_BUILD_ROOT%{_bindir}/amd64-pc-freebsd8.2-amd64-pc-freebsd8.2-gcjh%{_exeext} … … 445 441 fi 446 442 443 %if ! %{with pygdb} 447 444 # gcc >= 4.5.0: installs weird libstdc++ python bindings. 448 %if ! %{with pygdb}449 445 if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then 450 446 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx 451 447 fi 452 %endif 453 448 449 %endif 454 450 # Collect multilib subdirectories 455 451 multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'` … … 473 469 cp dirs build/files.gcj 474 470 cp dirs build/files.g++ 471 cp dirs build/files.go 475 472 476 473 TGTDIR="%{_gcclibdir}/gcc/amd64-pc-freebsd8.2/%{gcc_version}" … … 486 483 *collect2) ;; 487 484 *libobjc*) echo "$i" >> build/files.objc ;; 485 *go1) ;; # ignore: explicitly put into rpm elsewhere 488 486 *include/objc*) ;; 489 487 *include/g++*);; … … 491 489 *include-fixed/*);; 492 490 *finclude/*);; 491 */go/*) ;; # ignore : explicitly put into rpm elsewhere 493 492 *adainclude*);; 494 493 *adalib*);; … … 497 496 *jvgenmain) ;; 498 497 */libgfortran*.*) echo "$i" >> build/files.gfortran ;; 498 */libgo*.a) echo "$i" >> build/files.go ;; 499 499 %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now 500 500 %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;} … … 622 622 %{_bindir}/amd64-pc-freebsd8.2-gcc-%{gcc_version}%{_exeext} 623 623 %{_bindir}/amd64-pc-freebsd8.2-gcov%{_exeext} 624 %if "%{gcc_version}" < "4.6.0" 624 625 %{_bindir}/amd64-pc-freebsd8.2-gccbug 626 %endif 625 627 626 628 %dir %{_libexecdir}/gcc -
contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec
rc05fad28 r96a0c2ae 42 42 Group: Development/Tools 43 43 Version: %{gcc_rpmvers} 44 Release: 0.20110 321.1%{?dist}44 Release: 0.20110731.0%{?dist} 45 45 License: GPL 46 46 URL: http://gcc.gnu.org … … 65 65 # Should be applicable to gcc >= 4.5.0 66 66 %bcond_with gcc_stdint 67 68 # EXPERIMENTAL: Enable newlib's iconv 69 %bcond_without iconv 67 70 68 71 # versions of libraries, we conditionally bundle if necessary … … 73 76 74 77 # versions of libraries these distros are known to ship 78 %if 0%{?fc16} 79 %global mpc_provided 0.8.3 80 %global mpfr_provided 3.0.0 81 %global gmp_provided 4.3.2 82 %endif 83 75 84 %if 0%{?fc15} 76 85 %global mpc_provided 0.8.3 … … 85 94 %endif 86 95 87 %if 0%{?fc13}88 %global mpc_provided 0.8.189 %global mpfr_provided 2.4.290 %global gmp_provided 4.3.191 %endif92 93 96 %if 0%{?el6} 94 97 %global mpc_provided %{nil} … … 103 106 %endif 104 107 105 %if 0%{?suse11_2}106 %global mpc_provided 0.7107 %global mpfr_provided 2.4.1108 %global gmp_provided 4.3.1109 %endif110 111 108 %if 0%{?suse11_3} 112 109 %global mpc_provided 0.8.1 … … 195 192 196 193 %if %{defined cloog_required} 197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}198 194 %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} 199 195 %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} 196 %{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} 200 197 %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} 201 198 %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 202 199 %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}204 200 %endif 205 201 … … 349 345 languages="c" 350 346 languages="$languages,c++" 351 case i386-pc-netbsdelf5.1 in352 *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;353 esac354 347 languages="$languages,fortran" 355 348 languages="$languages,objc" … … 383 376 %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \ 384 377 %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \ 385 --enable-languages="$languages" $optargs378 --enable-languages="$languages" 386 379 387 380 %if "%_host" != "%_build" … … 432 425 rm -rf $RPM_BUILD_ROOT%{_mandir}/man7 433 426 427 # We don't want libffi's man-pages 428 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi* 429 434 430 # Bug in gcc-3.4.0pre 435 431 rm -f $RPM_BUILD_ROOT%{_bindir}/i386-pc-netbsdelf5.1-i386-pc-netbsdelf5.1-gcjh%{_exeext} … … 445 441 fi 446 442 443 %if ! %{with pygdb} 447 444 # gcc >= 4.5.0: installs weird libstdc++ python bindings. 448 %if ! %{with pygdb}449 445 if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then 450 446 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx 451 447 fi 452 %endif 453 448 449 %endif 454 450 # Collect multilib subdirectories 455 451 multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'` … … 473 469 cp dirs build/files.gcj 474 470 cp dirs build/files.g++ 471 cp dirs build/files.go 475 472 476 473 TGTDIR="%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}" … … 486 483 *collect2) ;; 487 484 *libobjc*) echo "$i" >> build/files.objc ;; 485 *go1) ;; # ignore: explicitly put into rpm elsewhere 488 486 *include/objc*) ;; 489 487 *include/g++*);; … … 491 489 *include-fixed/*);; 492 490 *finclude/*);; 491 */go/*) ;; # ignore : explicitly put into rpm elsewhere 493 492 *adainclude*);; 494 493 *adalib*);; … … 497 496 *jvgenmain) ;; 498 497 */libgfortran*.*) echo "$i" >> build/files.gfortran ;; 498 */libgo*.a) echo "$i" >> build/files.go ;; 499 499 %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now 500 500 %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;} … … 622 622 %{_bindir}/i386-pc-netbsdelf5.1-gcc-%{gcc_version}%{_exeext} 623 623 %{_bindir}/i386-pc-netbsdelf5.1-gcov%{_exeext} 624 %if "%{gcc_version}" < "4.6.0" 624 625 %{_bindir}/i386-pc-netbsdelf5.1-gccbug 626 %endif 625 627 626 628 %dir %{_libexecdir}/gcc -
contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec
rc05fad28 r96a0c2ae 42 42 Group: Development/Tools 43 43 Version: %{gcc_rpmvers} 44 Release: 0.20110 321.1%{?dist}44 Release: 0.20110731.0%{?dist} 45 45 License: GPL 46 46 URL: http://gcc.gnu.org … … 65 65 # Should be applicable to gcc >= 4.5.0 66 66 %bcond_with gcc_stdint 67 68 # EXPERIMENTAL: Enable newlib's iconv 69 %bcond_without iconv 67 70 68 71 # versions of libraries, we conditionally bundle if necessary … … 73 76 74 77 # versions of libraries these distros are known to ship 78 %if 0%{?fc16} 79 %global mpc_provided 0.8.3 80 %global mpfr_provided 3.0.0 81 %global gmp_provided 4.3.2 82 %endif 83 75 84 %if 0%{?fc15} 76 85 %global mpc_provided 0.8.3 … … 85 94 %endif 86 95 87 %if 0%{?fc13}88 %global mpc_provided 0.8.189 %global mpfr_provided 2.4.290 %global gmp_provided 4.3.191 %endif92 93 96 %if 0%{?el6} 94 97 %global mpc_provided %{nil} … … 103 106 %endif 104 107 105 %if 0%{?suse11_2}106 %global mpc_provided 0.7107 %global mpfr_provided 2.4.1108 %global gmp_provided 4.3.1109 %endif110 111 108 %if 0%{?suse11_3} 112 109 %global mpc_provided 0.8.1 … … 195 192 196 193 %if %{defined cloog_required} 197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}198 194 %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} 199 195 %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} 196 %{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} 200 197 %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} 201 198 %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 202 199 %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} 203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}204 200 %endif 205 201 … … 349 345 languages="c" 350 346 languages="$languages,c++" 351 case amd64-pc-netbsdelf5.1 in352 *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;353 esac354 347 languages="$languages,fortran" 355 348 languages="$languages,objc" … … 383 376 %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \ 384 377 %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \ 385 --enable-languages="$languages" $optargs378 --enable-languages="$languages" 386 379 387 380 %if "%_host" != "%_build" … … 432 425 rm -rf $RPM_BUILD_ROOT%{_mandir}/man7 433 426 427 # We don't want libffi's man-pages 428 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi* 429 434 430 # Bug in gcc-3.4.0pre 435 431 rm -f $RPM_BUILD_ROOT%{_bindir}/amd64-pc-netbsdelf5.1-amd64-pc-netbsdelf5.1-gcjh%{_exeext} … … 445 441 fi 446 442 443 %if ! %{with pygdb} 447 444 # gcc >= 4.5.0: installs weird libstdc++ python bindings. 448 %if ! %{with pygdb}449 445 if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then 450 446 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx 451 447 fi 452 %endif 453 448 449 %endif 454 450 # Collect multilib subdirectories 455 451 multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'` … … 473 469 cp dirs build/files.gcj 474 470 cp dirs build/files.g++ 471 cp dirs build/files.go 475 472 476 473 TGTDIR="%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}" … … 486 483 *collect2) ;; 487 484 *libobjc*) echo "$i" >> build/files.objc ;; 485 *go1) ;; # ignore: explicitly put into rpm elsewhere 488 486 *include/objc*) ;; 489 487 *include/g++*);; … … 491 489 *include-fixed/*);; 492 490 *finclude/*);; 491 */go/*) ;; # ignore : explicitly put into rpm elsewhere 493 492 *adainclude*);; 494 493 *adalib*);; … … 497 496 *jvgenmain) ;; 498 497 */libgfortran*.*) echo "$i" >> build/files.gfortran ;; 498 */libgo*.a) echo "$i" >> build/files.go ;; 499 499 %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now 500 500 %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;} … … 622 622 %{_bindir}/amd64-pc-netbsdelf5.1-gcc-%{gcc_version}%{_exeext} 623 623 %{_bindir}/amd64-pc-netbsdelf5.1-gcov%{_exeext} 624 %if "%{gcc_version}" < "4.6.0" 624 625 %{_bindir}/amd64-pc-netbsdelf5.1-gccbug 626 %endif 625 627 626 628 %dir %{_libexecdir}/gcc
Note: See TracChangeset
for help on using the changeset viewer.