Ignore:
Timestamp:
Aug 13, 2002, 2:01:03 PM (19 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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) ;;
Note: See TracChangeset for help on using the changeset viewer.