Changeset 59292fe9 in rtems for scripts/gccnewlib


Ignore:
Timestamp:
Jan 31, 2003, 6:22:09 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ab591073
Parents:
9c8ee7b
Message:

2003-01-31 Ralf Corsepius <corsepiu@…>

  • rtemsdoc/Makefile.am: Use $(top_builddir)/common/common.add, $(top_builddir)/common/clean.add, header.add. Generate rtemsdoc.spec.in.
  • rtemsdoc/mkspec.in: Remove exe_ext.
  • rtemsdoc/rtemsdoc.spec.in: Remove.
  • gccnewlib/Makefile.am: Use $(top_builddir)/common/common.add, $(top_builddir)/common/clean.add, header.add.
  • gccnewlib/base-gcc.m4: Replace @exe_ext@ with %{_exeext}.
  • gccnewlib/base-gcj.add: Replace @exe_ext@ with %{_exeext}.
  • gccnewlib/gccnewlib.add: Replace @exe_ext@ with %{_exeext}. Remove header, broken cdn-X configuration, %clean.
  • gccnewlib/target-g77.add: Replace @exe_ext@ with %{_exeext}.
  • gccnewlib/target-gcc.add: Replace @exe_ext@ with %{_exeext}.
  • gccnewlib/target-gcj.add: Replace @exe_ext@ with %{_exeext}.
  • gccnewlib/target-objc.add: Replace @exe_ext@ with %{_exeext}.
Location:
scripts/gccnewlib
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • scripts/gccnewlib/Makefile.am

    r9c8ee7b r59292fe9  
    66MKGCCNEWLIBSPEC = $(SHELL) $(top_builddir)/mkgccnewlibspec
    77
    8 SUBPACKAGES = gccnewlib.add \
    9     base-gcc.add target-gcc.add \
     8SUBPACKAGES = header.add
     9SUBPACKAGES += ../common/common.add
     10SUBPACKAGES += gccnewlib.add
     11SUBPACKAGES += ../common/clean.add
     12SUBPACKAGES += base-gcc.add target-gcc.add \
    1013    base-chill.add target-chill.add \
    1114    base-g77.add target-g77.add \
     
    1821CLEANFILES = gccnewlib.spec.in
    1922
    20 gccnewlib_c_only.spec.in: gccnewlib.add base-gcc.add target-gcc.add
     23gccnewlib_c_only.spec.in: header.add ../common/common.add \
     24   gccnewlib.add ../common/clean.add base-gcc.add target-gcc.add
    2125        cat $^ \
    2226        | sed -e "s%@GCCLANGS@%\'--enable-languages=c,c++\'%g" > $@
  • scripts/gccnewlib/base-gcc.add

    r9c8ee7b r59292fe9  
    2121
    2222%dir %{_prefix}/bin
    23 %{_prefix}/bin/gcov@exe_ext@
     23%{_prefix}/bin/gcov%{_exeext}
    2424
    2525%dir %{_prefix}/man
  • scripts/gccnewlib/base-gcj.add

    r9c8ee7b r59292fe9  
    1515%files -n rtems-base-gcj
    1616%dir %{_prefix}/bin
    17 %{_prefix}/bin/jcf-dump@exe_ext@
    18 %{_prefix}/bin/jv-scan@exe_ext@
    19 %{_prefix}/bin/gcjh@exe_ext@
     17%{_prefix}/bin/jcf-dump%{_exeext}
     18%{_prefix}/bin/jv-scan%{_exeext}
     19%{_prefix}/bin/gcjh%{_exeext}
    2020
  • scripts/gccnewlib/gccnewlib.add

    r9c8ee7b r59292fe9  
    1 #
    2 # spec file for building gcc for rtems
    3 #
    4 # Copyright  (c) 1999,2000,2001 OARCorp, Huntsville, AL
    5 #
    6 # please send bugfixes or comments to joel@OARcorp.com
    7 #
    8 
    9 %define _prefix @prefix@
    10 
    11 Vendor:       OAR Corporation
    12 Distribution: Linux
    131Name:         @target_alias@-gcc-newlib
    142Summary:      gcc and newlib C Library for @target_alias@.
     
    7361  cd build
    7462
    75 # HACK: This should be %{target} != %{build}, but SuSE's rpm screws it.
    76 %if "%{target_os}" != "%{build_os}"
    77   CONFIGURE_ARGS="--build=%{_build} --host=%{_target}"
    78 %endif
    79 
    80   ../gcc-@gcc_version@/configure $CONFIGURE_ARGS --target=@target_alias@ \
     63  ../gcc-@gcc_version@/configure \
     64    --target=@target_alias@ \
    8165    --with-gnu-as --with-gnu-ld --with-newlib --verbose \
    8266    --enable-threads --prefix=%{_prefix} @GCCLANGS@
     
    10185  # Bug in gcc-2.95.x: It bogusly tries to share cpp for all targets.
    10286  # Rename it to target_alias-cpp
    103   if test -f $RPM_BUILD_ROOT%{_prefix}/bin/cpp@exe_ext@;
     87  if test -f $RPM_BUILD_ROOT%{_prefix}/bin/cpp%{_exeext};
    10488  then
    105     mv $RPM_BUILD_ROOT%{_prefix}/bin/cpp@exe_ext@ \
    106       $RPM_BUILD_ROOT%{_prefix}/bin/@target_alias@-cpp@exe_ext@
     89    mv $RPM_BUILD_ROOT%{_prefix}/bin/cpp%{_exeext} \
     90      $RPM_BUILD_ROOT%{_prefix}/bin/@target_alias@-cpp%{_exeext}
    10791  fi
    10892
     
    150134  done
    151135
    152 %clean
    153 # let rpm --clean remove BuildRoot iif using the default BuildRoot
    154   test "$RPM_BUILD_ROOT" = "%{_tmppath}/%{name}" && \
    155     rm -rf $RPM_BUILD_ROOT
    156 
  • scripts/gccnewlib/target-g77.add

    r9c8ee7b r59292fe9  
    1515%files -n @target_alias@-g77 -f build/files.g77
    1616%dir %{_prefix}/bin
    17 %{_prefix}/bin/@target_alias@-g77@exe_ext@
     17%{_prefix}/bin/@target_alias@-g77%{_exeext}
    1818
    19 %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/f771@exe_ext@
     19%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/f771%{_exeext}
  • scripts/gccnewlib/target-gcc.add

    r9c8ee7b r59292fe9  
    1717%doc %{_prefix}/man/man1/@target_alias@-g++.1
    1818
    19 %{_prefix}/bin/@target_alias@-cpp@exe_ext@
    20 %{_prefix}/bin/@target_alias@-c++@exe_ext@
    21 %{_prefix}/bin/@target_alias@-g++@exe_ext@
    22 %{_prefix}/bin/@target_alias@-gcc@exe_ext@
    23 %{_prefix}/bin/@target_alias@-protoize@exe_ext@
    24 %{_prefix}/bin/@target_alias@-unprotoize@exe_ext@
     19%{_prefix}/bin/@target_alias@-cpp%{_exeext}
     20%{_prefix}/bin/@target_alias@-c++%{_exeext}
     21%{_prefix}/bin/@target_alias@-g++%{_exeext}
     22%{_prefix}/bin/@target_alias@-gcc%{_exeext}
     23%{_prefix}/bin/@target_alias@-protoize%{_exeext}
     24%{_prefix}/bin/@target_alias@-unprotoize%{_exeext}
    2525
    2626%dir %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/include
  • scripts/gccnewlib/target-gcj.add

    r9c8ee7b r59292fe9  
    1515%files -n @target_alias@-gcj -f build/files.gcj
    1616%dir %{_prefix}/bin
    17 %{_prefix}/bin/@target_alias@-gcj@exe_ext@
     17%{_prefix}/bin/@target_alias@-gcj%{_exeext}
    1818
    19 %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/jc1@exe_ext@
    20 %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/jvgenmain@exe_ext@
     19%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/jc1%{_exeext}
     20%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/jvgenmain%{_exeext}
    2121
  • scripts/gccnewlib/target-objc.add

    r9c8ee7b r59292fe9  
    1414
    1515%files -n @target_alias@-objc -f build/files.objc
    16 %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj@exe_ext@
     16%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj%{_exeext}
    1717%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/include/objc
Note: See TracChangeset for help on using the changeset viewer.