Changeset cc1b3ce in rtems


Ignore:
Timestamp:
Aug 31, 2009, 6:47:27 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
79c5a0c
Parents:
5afe249
Message:

Rework.

Location:
contrib/crossrpms/gcc
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gcc/gccnewlib.add

    r5afe249 rcc1b3ce  
    108108Requires:       @rpmprefix@@tool_target@-sys-root
    109109Requires:       @rpmprefix@@tool_target@-w32api-sys-root
     110Requires:       @rpmprefix@@tool_target@-gcc-libgcc = %{gcc_rpmvers}-%{release}
    110111%if %build_newlib
    111112Requires:       @rpmprefix@@tool_target@-newlib = %{newlib_version}-@NEWLIB_RPMREL@
  • contrib/crossrpms/gcc/install.add

    r5afe249 rcc1b3ce  
    6868
    6969  # Collect multilib subdirectories
    70   f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
     70  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
    7171
    7272%if %build_newlib
    7373  echo "%defattr(-,root,root,-)" > build/files.newlib
    7474  TGTDIR="%{_exec_prefix}/@tool_target@/lib"
    75   for i in $f; do
     75  for i in $multilibs; do
    7676    case $i in
    7777    \.) echo "%dir ${TGTDIR}" >> build/files.newlib
     
    8787%if "%{_prefix}" != "/usr"
    8888  echo "%dir %{_prefix}" >> dirs
    89   echo "%dir %{_gcclibdir}" >> dirs
    90   echo "%dir %{_libexecdir}" >> dirs
    9189%endif
    92   echo "%dir %{_gcclibdir}/gcc" >> dirs
    93   echo "%dir %{_gcclibdir}/gcc/@tool_target@" >> dirs
    94 
    9590  TGTDIR="%{_gcclibdir}/gcc/@tool_target@/%{gcc_version}"
    96   for i in $f; do
     91  for i in $multilibs; do
    9792    case $i in
    9893    \.) echo "%dir ${TGTDIR}" >> dirs
  • contrib/crossrpms/gcc/target-c++.add

    r5afe249 rcc1b3ce  
    88Version:        %{gcc_rpmvers}
    99License:        GPL
     10Requires:       @rpmprefix@@tool_target@-gcc-libstdc++ = %{gcc_rpmvers}-%{release}
    1011
    1112%if "%{_build}" != "%{_host}"
     
    2122GCC c++ compiler for @tool_target@.
    2223
    23 %files -n @rpmprefix@@tool_target@-gcc-c++ -f build/files.g++
     24
     25%package -n @rpmprefix@@tool_target@-gcc-libstdc++
     26Summary:        libstdc++ for @tool_target@
     27Group:          Development/Tools
     28Version:        %{gcc_rpmvers}
     29%{?_with_noarch_subpackages:BuildArch: noarch}
     30License:        GPL
     31
     32%description -n @rpmprefix@@tool_target@-gcc-libstdc++
     33%{_summary}
     34
     35
     36%files -n @rpmprefix@@tool_target@-gcc-c++
    2437%defattr(-,root,root)
     38%sysdir %{_prefix}
     39
     40%sysdir %{_mandir}
     41%sysdir %{_mandir}/man1
    2542%{_mandir}/man1/@tool_target@-g++.1*
    2643
     44%sysdir %{_bindir}
    2745%{_bindir}/@tool_target@-c++%{_exeext}
    2846%{_bindir}/@tool_target@-g++%{_exeext}
    2947
     48%sysdir %{_libexecdir}
    3049%dir %{_libexecdir}/gcc
    3150%dir %{_libexecdir}/gcc/@tool_target@
     
    3352%{_libexecdir}/gcc/@tool_target@/%{gcc_version}/cc1plus%{_exeext}
    3453
     54
     55%files -n @rpmprefix@@tool_target@-gcc-libstdc++ -f build/files.g++
     56%defattr(-,root,root)
     57%sysdir %{_prefix}
     58%sysdir %{_gcclibdir}
     59%dir %{_gcclibdir}/gcc
     60%dir %{_gcclibdir}/gcc/@tool_target@
     61%dir %{_gcclibdir}/gcc/@tool_target@/%{gcc_version}
    3562%dir %{_gcclibdir}/gcc/@tool_target@/%{gcc_version}/include
    3663%{_gcclibdir}/gcc/@tool_target@/%{gcc_version}/include/c++
  • contrib/crossrpms/gcc/target-gcc.add

    r5afe249 rcc1b3ce  
    1717GNU cc compiler for @tool_target@.
    1818
    19 %files -n @rpmprefix@@tool_target@-gcc -f build/files.gcc
     19# ==============================================================
     20# @rpmprefix@@tool_target@-gcc-libgcc
     21# ==============================================================
     22%package -n @rpmprefix@@tool_target@-gcc-libgcc
     23Summary:        libgcc for @tool_target@-gcc
     24Group:          Development/Tools
     25Version:        %{gcc_rpmvers}
     26%{?_with_noarch_subpackages:BuildArch: noarch}
     27Requires:       @rpmprefix@@tool_target@-newlib = %{newlib_version}-@NEWLIB_RPMREL@
     28License:        GPL
     29
     30%description -n @rpmprefix@@tool_target@-gcc-libgcc
     31libgcc @tool_target@-gcc.
     32
     33
     34%files -n @rpmprefix@@tool_target@-gcc
    2035%defattr(-,root,root)
     36%sysdir %{_prefix}
     37
    2138%sysdir %{_mandir}
    2239%sysdir %{_mandir}/man1
     
    3249%{_bindir}/@tool_target@-gccbug
    3350
     51%sysdir %{_libexecdir}
     52%dir %{_libexecdir}/gcc
     53%dir %{_libexecdir}/gcc/@tool_target@
     54%dir %{_libexecdir}/gcc/@tool_target@/%{gcc_version}
     55%{_libexecdir}/gcc/@tool_target@/%{gcc_version}/cc1%{_exeext}
     56%{_libexecdir}/gcc/@tool_target@/%{gcc_version}/collect2%{_exeext}
     57
     58
     59%files -n @rpmprefix@@tool_target@-gcc-libgcc -f build/files.gcc
     60%defattr(-,root,root)
     61%sysdir %{_prefix}
     62%sysdir %{_gcclibdir}
     63%dir %{_gcclibdir}/gcc
     64%dir %{_gcclibdir}/gcc/@tool_target@
     65%dir %{_gcclibdir}/gcc/@tool_target@/%{gcc_version}
    3466%dir %{_gcclibdir}/gcc/@tool_target@/%{gcc_version}/include
     67
    3568%if "%{gcc_version}" > "4.0.3"
    3669%if "@tool_target@" != "bfin-rtems@rtems_api@"
     
    4578%endif
    4679
    47 %dir %{_libexecdir}/gcc
    48 %dir %{_libexecdir}/gcc/@tool_target@
    49 %dir %{_libexecdir}/gcc/@tool_target@/%{gcc_version}
    50 %{_libexecdir}/gcc/@tool_target@/%{gcc_version}/cc1%{_exeext}
    51 %{_libexecdir}/gcc/@tool_target@/%{gcc_version}/collect2%{_exeext}
    52 
  • contrib/crossrpms/gcc/target-gcj.add

    r5afe249 rcc1b3ce  
    2121%files -n @rpmprefix@@tool_target@-gcc-gcj -f build/files.gcj
    2222%defattr(-,root,root)
     23%sysdir %{_bindir}
    2324%{_bindir}/@tool_target@-gcj%{_exeext}
    2425%{_bindir}/@tool_target@-jcf-dump%{_exeext}
     
    2728%{_bindir}/@tool_target@-*jar%{_exeext}
    2829
     30%sysdir %{_mandir}
     31%sysdir %{_mandir}/man1
    2932%{_mandir}/man1/@tool_target@-*jar.1*
    3033%{_mandir}/man1/@tool_target@-gcj*.1*
     
    3942%endif
    4043
     44%sysdir %{_libexecdir}
    4145%dir %{_libexecdir}/gcc
    4246%dir %{_libexecdir}/gcc/@tool_target@
     
    4549%{_libexecdir}/gcc/@tool_target@/%{gcc_version}/jvgenmain%{_exeext}
    4650
     51%sysdir %{_gcclibdir}
     52%dir %{_gcclibdir}/gcc
     53%dir %{_gcclibdir}/gcc/@tool_target@
     54%dir %{_gcclibdir}/gcc/@tool_target@/%{gcc_version}
     55
    4756%endif
    4857
  • contrib/crossrpms/gcc/target-gfortran.add

    r5afe249 rcc1b3ce  
    1313%endif
    1414Requires:       @rpmprefix@@tool_target@-gcc = %{gcc_rpmvers}-%{release}
     15Requires:       @rpmprefix@@tool_target@-gcc-libgfortran = %{gcc_rpmvers}-%{release}
    1516
    1617%description -n @rpmprefix@@tool_target@-gcc-gfortran
    1718GCC fortran compiler for @tool_target@.
    1819
    19 %files -n @rpmprefix@@tool_target@-gcc-gfortran -f build/files.gfortran
     20%files -n @rpmprefix@@tool_target@-gcc-gfortran
    2021%defattr(-,root,root)
     22%sysdir %{_prefix}
     23%sysdir %{_bindir}
    2124%{_bindir}/@tool_target@-gfortran%{_exeext}
    2225
     26%sysdir %{_mandir}
     27%sysdir %{_mandir}/man1
    2328%{_mandir}/man1/@tool_target@-gfortran.1*
    2429
     30%sysdir %{_libexecdir}
    2531%dir %{_libexecdir}/gcc
    2632%dir %{_libexecdir}/gcc/@tool_target@
     
    2834%{_libexecdir}/gcc/@tool_target@/%{gcc_version}/f951%{_exeext}
    2935
     36# ==============================================================
     37# @rpmprefix@@tool_target@-gcc-libgfortran
     38# ==============================================================
     39%package -n @rpmprefix@@tool_target@-gcc-libgfortran
     40Summary:        Fortran 95 support libraries for @tool_target@-gcc
     41Group:          Development/Tools
     42Version:        %{gcc_rpmvers}
     43%{?_with_noarch_subpackages:BuildArch: noarch}
     44License:        GPL
     45
     46%description -n @rpmprefix@@tool_target@-gcc-libgfortran
     47%{_summary}
     48
     49%files -n @rpmprefix@@tool_target@-gcc-libgfortran -f build/files.gfortran
     50%defattr(-,root,root)
     51%sysdir %{_prefix}
     52%sysdir %{_gcclibdir}
     53%dir %{_gcclibdir}/gcc
     54%dir %{_gcclibdir}/gcc/@tool_target@
     55%dir %{_gcclibdir}/gcc/@tool_target@/%{gcc_version}
    3056%if "%{gcc_version}" >= "4.2.0"
    3157%{_gcclibdir}/gcc/@tool_target@/%{gcc_version}/finclude
  • contrib/crossrpms/gcc/target-gnat.add

    r5afe249 rcc1b3ce  
    2121%files -n @rpmprefix@@tool_target@-gcc-gnat
    2222%defattr(-,root,root)
     23%sysdir %{_prefix}
     24
     25%sysdir %{_bindir}
    2326%{_bindir}/@tool_target@-gnat*
    2427%{_bindir}/@tool_target@-gprmake%{_exeext}
    2528
     29%sysdir %{_libexecdir}
    2630%dir %{_libexecdir}/gcc
    2731%dir %{_libexecdir}/gcc/@tool_target@
     
    2933%{_libexecdir}/gcc/@tool_target@/%{gcc_version}/gnat1%{_exeext}
    3034
     35%sysdir %{_gcclibdir}
     36%dir %{_gcclibdir}/gcc
     37%dir %{_gcclibdir}/gcc/@tool_target@
     38%dir %{_gcclibdir}/gcc/@tool_target@/%{gcc_version}
    3139%{_gcclibdir}/gcc/@tool_target@/%{gcc_version}/adalib
    3240%{_gcclibdir}/gcc/@tool_target@/%{gcc_version}/adainclude
  • contrib/crossrpms/gcc/target-newlib.add

    r5afe249 rcc1b3ce  
    2121%defattr(-,root,root)
    2222%sysdir %{_prefix}
     23%sysdir %{_exec_prefix}
    2324%dir %{_exec_prefix}/@tool_target@
    2425%{_exec_prefix}/@tool_target@/include
  • contrib/crossrpms/gcc/target-objc.add

    r5afe249 rcc1b3ce  
    1010
    1111Requires:       @rpmprefix@@tool_target@-gcc = %{gcc_rpmvers}-%{release}
     12Requires:       @rpmprefix@@tool_target@-gcc-libobjc = %{gcc_rpmvers}-%{release}
    1213
    1314%description -n @rpmprefix@@tool_target@-gcc-objc
    1415GCC objc compiler for @tool_target@.
    1516
    16 %files -n @rpmprefix@@tool_target@-gcc-objc -f build/files.objc
     17%files -n @rpmprefix@@tool_target@-gcc-objc
    1718%defattr(-,root,root)
     19%sysdir %{_exec_prefix}
     20%sysdir %{_libexecdir}
    1821%dir %{_libexecdir}/gcc
    1922%dir %{_libexecdir}/gcc/@tool_target@
     
    2124%{_libexecdir}/gcc/@tool_target@/%{gcc_version}/cc1obj%{_exeext}
    2225
     26# ==============================================================
     27# @rpmprefix@@tool_target@-gcc-libobjc
     28# ==============================================================
     29%package -n @rpmprefix@@tool_target@-gcc-libobjc
     30Summary:        Objective C support for @tool_target@-gcc
     31Group:          Development/Tools
     32Version:        %{gcc_rpmvers}
     33%{?_with_noarch_subpackages:BuildArch: noarch}
     34License:        GPL
     35
     36%description -n @rpmprefix@@tool_target@-gcc-libobjc
     37Support libraries for GCC's objc compiler for @tool_target@.
     38
     39%files -n @rpmprefix@@tool_target@-gcc-libobjc -f build/files.objc
     40%defattr(-,root,root)
     41%sysdir %{_prefix}
     42%sysdir %{_gcclibdir}
     43%dir %{_gcclibdir}/gcc
     44%dir %{_gcclibdir}/gcc/@tool_target@
     45%dir %{_gcclibdir}/gcc/@tool_target@/%{gcc_version}
    2346%dir %{_gcclibdir}/gcc/@tool_target@/%{gcc_version}/include
    2447%{_gcclibdir}/gcc/@tool_target@/%{gcc_version}/include/objc
Note: See TracChangeset for help on using the changeset viewer.