Changeset d3dd09b in rtems


Ignore:
Timestamp:
Apr 29, 2005, 7:53:13 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
cae3c928
Parents:
3274c876
Message:

2005-04-29 Ralf Corsepius <ralf.corsepius@…>

  • gccnewlib/base-gnat.add, gccnewlib/gccnewlib.add, gccnewlib/target-gnat.add: Abandon Gnat for gcc < 4.0
Location:
scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    r3274c876 rd3dd09b  
     12005-04-29      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * gccnewlib/base-gnat.add, gccnewlib/gccnewlib.add,
     4        gccnewlib/target-gnat.add: Abandon Gnat for gcc < 4.0
     5
    162005-04-27      Ralf Corsepius <ralf.corsepius@rtems.org>
    27
  • scripts/gccnewlib/base-gnat.add

    r3274c876 rd3dd09b  
    1717%files -n %{rpmprefix}rtems@osversion@-base-gnat
    1818%defattr(-,root,root)
    19 %if "%{gcc_version}" >= "4.0"
    2019%dir %{_bindir}
    2120%{_bindir}/vxaddr2line%{_exeext}
    22 %endif
    2321
    24 %if "%{gcc_version}" >= "3.3"
     22%dir %{_infodir}
    2523%{_infodir}/gnat*
    26 %endif
    2724
    28 %if "%{gcc_version}" >= "3.3"
    2925%post -n %{rpmprefix}rtems@osversion@-base-gnat
    3026  /sbin/install-info --infodir=%{_infodir} %{_infodir}/gnat_rm.info.gz
     
    3935fi
    4036%endif
    41 %endif
  • scripts/gccnewlib/gccnewlib.add

    r3274c876 rd3dd09b  
    214214%endif
    215215
    216 %if %build_gnat
    217 %if "%{gcc_version}" < "3.4"
    218   cd ../gcc-%{gcc_version}/gcc/ada
    219   touch treeprs.ads [es]info.h nmake.ad[bs]
    220   cd ../../../build
    221 %endif
    222 %endif
    223 
    224216  make all
    225 %if %build_gnat
    226 # This gnat configuration is crap :(
    227 
    228 %if "%{gcc_version}" >= "3.4"
    229 # This is what is documented - Of cause it doesn't work.
    230   make -C gcc gnatlib
    231   make -C gcc cross-gnattools
    232   make -C gcc ada.all.cross
    233 %endif
    234 
    235 %if "%{gcc_version}" < "3.4"
    236 # This is what had worked for some versions of gcc.
    237   make -C gcc cross-gnattools
    238   make -C gcc ada.all.cross
    239 # This is what gcc/ada/Makefile.in contains by default,
    240 # but what we override below
    241   GNATLIBCFLAGS="-g -O2"
    242 # Let gnatlib building find newlib's headers
    243   GNATLIBCFLAGS="$GNATLIBCFLAGS -isystem `pwd`/%{gcc_target}/newlib/targ-include"
    244   GNATLIBCFLAGS="$GNATLIBCFLAGS -isystem `pwd`/../newlib-%{newlib_version}/newlib/libc/include"
    245   GNATLIBCFLAGS="$GNATLIBCFLAGS -isystem `pwd`/../gcc-%{gcc_version}/include"
    246 # Without this xgcc doesn't find the target's binutils.
    247   GNATLIBCFLAGS="$GNATLIBCFLAGS -B%{_prefix}/%{gcc_target}/bin/"
    248 %if "%{gcc_target}" == "mips-rtems@osversion@"
    249   GNATLIBCFLAGS="$GNATLIBCFLAGS -G0"
    250 %endif
    251   make -C gcc GNATLIBCFLAGS="${GNATLIBCFLAGS}" gnatlib
    252 %endif
    253 %endif
    254217  make info
    255218
  • scripts/gccnewlib/target-gnat.add

    r3274c876 rd3dd09b  
    1717%dir %{_bindir}
    1818%{_bindir}/%{gcc_target}-gnat*
    19 
    20 %if "%{gcc_version}" >= "4.0"
    2119%{_bindir}/%{gcc_target}-gprmake%{_exeext}
    22 %endif
    2320
    2421%{gccexec}/%{gcc_target}/%{gcc_version}/gnat1%{_exeext}
Note: See TracChangeset for help on using the changeset viewer.