Changeset 491b8b2e in rtems


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

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

  • gcc3newlib/gccnewlib.add: Remove header, broken cdn-X configuration, %clean, Replace @exe_ext@ with %{_exeext}.
  • gcc3newlib/mkspec.in: Remove exe_ext.
  • gcc3newlib/target-c++.add: Replace @exe_ext@ with %{_exeext}.
  • gcc3newlib/target-g77.add: Replace @exe_ext@ with %{_exeext}.
  • gcc3newlib/target-gcc.add: Replace @exe_ext@ with %{_exeext}.
  • gcc3newlib/target-gcj.add: Replace @exe_ext@ with %{_exeext}.
  • gcc3newlib/target-gnat.add: Replace @exe_ext@ with %{_exeext}.
  • gcc3newlib/target-objc.add: Replace @exe_ext@ with %{_exeext}. + gcc3newlib/Makefile.am: Use $(top_builddir)/common/common.add, $(top_builddir)/common/clean.add, header.add.
Location:
scripts
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    r6044dd2f r491b8b2e  
     12003-01-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * gcc3newlib/gccnewlib.add: Remove header, broken cdn-X configuration,
     4        %clean, Replace @exe_ext@ with %{_exeext}.
     5        * gcc3newlib/mkspec.in: Remove exe_ext.
     6        * gcc3newlib/target-c++.add: Replace @exe_ext@ with %{_exeext}.
     7        * gcc3newlib/target-g77.add: Replace @exe_ext@ with %{_exeext}.
     8        * gcc3newlib/target-gcc.add: Replace @exe_ext@ with %{_exeext}.
     9        * gcc3newlib/target-gcj.add: Replace @exe_ext@ with %{_exeext}.
     10        * gcc3newlib/target-gnat.add: Replace @exe_ext@ with %{_exeext}.
     11        * gcc3newlib/target-objc.add: Replace @exe_ext@ with %{_exeext}.
     12        + gcc3newlib/Makefile.am: Use $(top_builddir)/common/common.add,
     13        $(top_builddir)/common/clean.add, header.add.
     14
    1152003-01-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    216
  • scripts/gcc3newlib/Makefile.am

    r6044dd2f r491b8b2e  
    55MKSPEC = $(SHELL) ./mkspec
    66
    7 SUBPACKAGES = gccnewlib.add \
    8     base-gcc.add target-gcc.add \
     7SUBPACKAGES = header.add
     8SUBPACKAGES += $(top_builddir)/common/common.add
     9SUBPACKAGES += gccnewlib.add
     10SUBPACKAGES += $(top_builddir)/common/clean.add
     11SUBPACKAGES += base-gcc.add target-gcc.add \
    912    base-g77.add target-g77.add \
    1013    base-gcj.add target-gcj.add \
  • scripts/gcc3newlib/gccnewlib.add

    r6044dd2f r491b8b2e  
    1 #
    2 # spec file for building gcc for rtems
    3 #
    4 # Copyright  (c) 1999,2000,2001,2002,2003 OARCorp, Huntsville, AL
    5 #
    6 # please send bugfixes or comments to joel@OARcorp.com
    7 #
    8 
    9 %define _prefix @prefix@
    10 %define _defaultbuildroot %{_tmppath}/%{name}-%{version}
    11 
    12 Vendor:       OAR Corporation
    13 Distribution: Linux
    141Name:         @target_alias@-gcc-newlib
    152Summary:      gcc and newlib C Library for @target_alias@.
     
    153140  cd build
    154141
    155 # HACK: This doesn't work
    156 # %if "%{_target_os}" != "%{_build_os}"
    157 #    CONFIGURE_ARGS="--build=%{_build} --host=%{_target}"
    158 # %endif
    159142#  ALERT: GCJ would be better if we could add this flag and build
    160143#  it's libraries but this code isn't ready to be embedded.
     
    177160  languages="$languages,ada"
    178161%endif
    179   ../gcc-@gcc_version@/configure $CONFIGURE_ARGS --target=@target_alias@ \
     162  ../gcc-@gcc_version@/configure \
     163    --target=@target_alias@ \
    180164    --with-gnu-as --with-gnu-ld --with-newlib --verbose \
    181165    --with-system-zlib --disable-nls \
     
    235219# Install a copy of gcc as gnatgcc
    236220# Enables us to mix different versions of gnat and gnatgcc
    237   rm -f $RPM_BUILD_ROOT%{_bindir}/@target_alias@-gnatgcc@exe_ext@
    238   ln $RPM_BUILD_ROOT%{_bindir}/@target_alias@-gcc@exe_ext@ \
    239     $RPM_BUILD_ROOT%{_bindir}/@target_alias@-gnatgcc@exe_ext@
     221  rm -f $RPM_BUILD_ROOT%{_bindir}/@target_alias@-gnatgcc%{_exeext}
     222  ln $RPM_BUILD_ROOT%{_bindir}/@target_alias@-gcc%{_exeext} \
     223    $RPM_BUILD_ROOT%{_bindir}/@target_alias@-gnatgcc%{_exeext}
    240224%endif
    241225
     
    248232  # Bug in gcc-2.95.x: It bogusly tries to share cpp for all targets.
    249233  # Rename it to target_alias-cpp
    250   if test -f $RPM_BUILD_ROOT%{_prefix}/bin/cpp@exe_ext@;
     234  if test -f $RPM_BUILD_ROOT%{_prefix}/bin/cpp%{_exeext};
    251235  then
    252     mv $RPM_BUILD_ROOT%{_prefix}/bin/cpp@exe_ext@ \
    253       $RPM_BUILD_ROOT%{_prefix}/bin/@target_alias@-cpp@exe_ext@
     236    mv $RPM_BUILD_ROOT%{_prefix}/bin/cpp%{_exeext} \
     237      $RPM_BUILD_ROOT%{_prefix}/bin/@target_alias@-cpp%{_exeext}
    254238  fi
    255239%endif
     
    330314  done
    331315
    332 %clean
    333 # let rpm --clean remove BuildRoot iif using the default BuildRoot
    334   test "$RPM_BUILD_ROOT" = "%{_defaultbuildroot}" && \
    335     rm -rf $RPM_BUILD_ROOT
  • scripts/gcc3newlib/mkspec.in

    r6044dd2f r491b8b2e  
    77
    88CFG=../setup.cache
    9 exe_ext=@EXEEXT@
    109
    1110usage()
     
    7675    -e "s%@newlib_version\@%${gcc3newlib_version}%g" \
    7776    -e "s%@newlib_patch_version\@%${gcc3newlib_patch_version}%g" \
    78     -e "s%@exe_ext\@%${exe_ext}%g" \
    7977< ${specsrc}
  • scripts/gcc3newlib/target-c++.add

    r6044dd2f r491b8b2e  
    1919
    2020%dir %{_prefix}/bin
    21 %{_prefix}/bin/@target_alias@-c++@exe_ext@
    22 %{_prefix}/bin/@target_alias@-g++@exe_ext@
    23 %{_prefix}/bin/@target_alias@-c++filt@exe_ext@
     21%{_prefix}/bin/@target_alias@-c++%{_exeext}
     22%{_prefix}/bin/@target_alias@-g++%{_exeext}
     23%{_prefix}/bin/@target_alias@-c++filt%{_exeext}
    2424
    25 %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/cc1plus@exe_ext@
     25%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/cc1plus%{_exeext}
    2626%dir %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/include
    2727%if "@gcc_version@" >= "3.2"
  • scripts/gcc3newlib/target-g77.add

    r6044dd2f r491b8b2e  
    1717%defattr(-,root,root)
    1818%dir %{_prefix}/bin
    19 %{_prefix}/bin/@target_alias@-g77@exe_ext@
     19%{_prefix}/bin/@target_alias@-g77%{_exeext}
    2020
    21 %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/f771@exe_ext@
     21%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/f771%{_exeext}
    2222%endif
  • scripts/gcc3newlib/target-gcc.add

    r6044dd2f r491b8b2e  
    1717%doc %{_prefix}/man/man1/@target_alias@-gcc.1*
    1818
    19 %{_prefix}/bin/@target_alias@-cpp@exe_ext@
    20 %{_prefix}/bin/@target_alias@-gcc@exe_ext@
    21 %{_prefix}/bin/@target_alias@-gcov@exe_ext@
    22 %{_prefix}/bin/@target_alias@-gccbug@exe_ext@
     19%{_prefix}/bin/@target_alias@-cpp%{_exeext}
     20%{_prefix}/bin/@target_alias@-gcc%{_exeext}
     21%{_prefix}/bin/@target_alias@-gcov%{_exeext}
     22%{_prefix}/bin/@target_alias@-gccbug%{_exeext}
    2323%{_prefix}/@target_alias@/include
    2424
  • scripts/gcc3newlib/target-gcj.add

    r6044dd2f r491b8b2e  
    1717%defattr(-,root,root)
    1818%dir %{_prefix}/bin
    19 %{_prefix}/bin/@target_alias@-gcj@exe_ext@
    20 %{_prefix}/bin/@target_alias@-jcf-dump@exe_ext@
    21 %{_prefix}/bin/@target_alias@-jv-scan@exe_ext@
    22 %{_prefix}/bin/@target_alias@-gcjh@exe_ext@
     19%{_prefix}/bin/@target_alias@-gcj%{_exeext}
     20%{_prefix}/bin/@target_alias@-jcf-dump%{_exeext}
     21%{_prefix}/bin/@target_alias@-jv-scan%{_exeext}
     22%{_prefix}/bin/@target_alias@-gcjh%{_exeext}
    2323%{_prefix}/man/man1/@target_alias@-gcj.1
    2424
    25 %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/jc1@exe_ext@
    26 %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/jvgenmain@exe_ext@
     25%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/jc1%{_exeext}
     26%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/jvgenmain%{_exeext}
    2727
    2828%endif
  • scripts/gcc3newlib/target-gnat.add

    r6044dd2f r491b8b2e  
    2020%{_prefix}/bin/@target_alias@-gnat*
    2121
    22 %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/gnat1@exe_ext@
     22%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/gnat1%{_exeext}
    2323%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/adalib
    2424%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/adainclude
  • scripts/gcc3newlib/target-objc.add

    r6044dd2f r491b8b2e  
    1616%files -n @target_alias@-objc -f build/files.objc
    1717%defattr(-,root,root)
    18 %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj@exe_ext@
     18%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj%{_exeext}
    1919%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/include/objc
    2020%endif
Note: See TracChangeset for help on using the changeset viewer.