Changeset 513afacb in rtems


Ignore:
Timestamp:
Aug 13, 2002, 2:01:03 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0215848
Parents:
771e79d
Message:

2002-08-13 Ralf Corsepius <corsepiu@…>

  • gcc3newlib/base-gnat.add: Don't use %{%prefix}/bin/gnat*.
  • gcc3newlib/Makefile.am: Use mkspec for c4x.
  • gcc3newlib/gccnewlib.add: Rework processing of %if %build_XXX. Rework handing Ada. Don't put adalib and adainclude into files.gcc.
  • gcc3newlib/target-gnat.add: Add adalib. Add adainclude.
Location:
scripts
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    r771e79d r513afacb  
     12002-08-13      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * gcc3newlib/base-gnat.add: Don't use %{%prefix}/bin/gnat*.
     4        * gcc3newlib/Makefile.am: Use mkspec for c4x.
     5        * gcc3newlib/target-gnat.add: Rework processing of %if %build_XXX.
     6        Rework handing Ada.
     7        Don't put adalib and adainclude into files.gcc.
     8        * gcc3newlib/target-gnat.add: Add adalib.
     9        Add adainclude.
     10
    1112002-08-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    212
  • scripts/gcc3newlib/Makefile.am

    r771e79d r513afacb  
    3838RPM_SPECS_DATA += arm-rtems-$(GCC3NEWLIBVERS).spec
    3939
    40 c4x-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
    41         $(MKSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
     40c4x-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIB_DEPS)
     41        $(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
    4242RPM_SPECS_DATA += c4x-rtems-$(GCC3NEWLIBVERS).spec
    4343
  • scripts/gcc3newlib/base-gnat.add

    r771e79d r513afacb  
    1515%files -n rtems-base-gnat
    1616%dir %{_prefix}/bin
    17 %{_prefix}/bin/gnat*
     17# %{_prefix}/bin/gnat*
    1818%endif
  • scripts/gcc3newlib/gccnewlib.add

    r771e79d r513afacb  
    5151
    5252%if "@target_alias@"     == "c4x-rtems"
    53 %define build_gnat      0
    5453%define build_cxx       0
    55 %elseif "@target_alias@" == "i386-rtems"
     54%endif
     55
     56%if "@target_alias@" == "i386-rtems"
    5657%define build_gnat      1
    57 %elseif "@target_alias@" == "i960-rtems"
    58 %define build_gnat      0
     58%endif
     59
     60%if "@target_alias@" == "i960-rtems"
    5961%define build_cxx       0
    60 %elseif "@target_alias@" == "powerpc-rtems"
     62%endif
     63
     64%if "@target_alias@" == "powerpc-rtems"
    6165%define build_gnat      1
    62 %elseif "@target_alias@" == "sparc-rtems"
     66%endif
     67
     68%if "@target_alias@" == "sparc-rtems"
    6369%define build_gnat      1
    6470%endif
     
    103109# %endif
    104110
    105   languages="c,c++"
     111  languages="c"
     112%if %build_cxx
     113  languages="$languages,c++"
     114%endif
    106115%if %build_g77
    107116  languages="$languages,g77"
     
    129138  make all
    130139%if %build_gnat
    131   cd gcc
    132140# This is what is documented, but it doesn't work for me (RC)
    133141#  make gnatlib_and_tools
    134   make cross-gnattools
    135   cd ..
     142  make -C gcc cross-gnattools
     143  make -C gcc ada.all.cross
     144  make -C gcc gnatlib
    136145%endif
    137146  make info
     
    145154#
    146155
    147   make prefix=$RPM_BUILD_ROOT%{_prefix} install
     156  make prefix=$RPM_BUILD_ROOT%{_prefix} \
     157    bindir=$RPM_BUILD_ROOT%{_bindir} install
    148158  cd @target_alias@/newlib
    149159  make prefix=$RPM_BUILD_ROOT%{_prefix} \
     
    216226    *include/objc*) ;;
    217227    *include/g++*);;
     228    *adainclude*);;
     229    *adalib*);;
     230    *gnat1);;
    218231    *jc1) ;;
    219232    *jvgenmain) ;;
  • scripts/gcc3newlib/target-gnat.add

    r771e79d r513afacb  
    2020
    2121%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/gnat1@exe_ext@
     22%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/adalib
     23%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/adainclude
    2224%endif
Note: See TracChangeset for help on using the changeset viewer.