diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-04-29 07:53:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-04-29 07:53:13 +0000 |
commit | d3dd09b847b05985c05b0a016330638dc6d28251 (patch) | |
tree | 94d3df6d82391be195c8f7d24a872b7f2193ea1d /scripts/gccnewlib/gccnewlib.add | |
parent | 2005-04-28 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-d3dd09b847b05985c05b0a016330638dc6d28251.tar.bz2 |
2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
* gccnewlib/base-gnat.add, gccnewlib/gccnewlib.add,
gccnewlib/target-gnat.add: Abandon Gnat for gcc < 4.0
Diffstat (limited to 'scripts/gccnewlib/gccnewlib.add')
-rw-r--r-- | scripts/gccnewlib/gccnewlib.add | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/scripts/gccnewlib/gccnewlib.add b/scripts/gccnewlib/gccnewlib.add index fc8d540c02..e05bc1d578 100644 --- a/scripts/gccnewlib/gccnewlib.add +++ b/scripts/gccnewlib/gccnewlib.add @@ -213,44 +213,7 @@ cd .. cp ../gcc-%{gcc_version}/gcc/gsyslimits.h gcc/include/syslimits.h %endif -%if %build_gnat -%if "%{gcc_version}" < "3.4" - cd ../gcc-%{gcc_version}/gcc/ada - touch treeprs.ads [es]info.h nmake.ad[bs] - cd ../../../build -%endif -%endif - make all -%if %build_gnat -# This gnat configuration is crap :( - -%if "%{gcc_version}" >= "3.4" -# This is what is documented - Of cause it doesn't work. - make -C gcc gnatlib - make -C gcc cross-gnattools - make -C gcc ada.all.cross -%endif - -%if "%{gcc_version}" < "3.4" -# This is what had worked for some versions of gcc. - make -C gcc cross-gnattools - make -C gcc ada.all.cross -# This is what gcc/ada/Makefile.in contains by default, -# but what we override below - GNATLIBCFLAGS="-g -O2" -# Let gnatlib building find newlib's headers - GNATLIBCFLAGS="$GNATLIBCFLAGS -isystem `pwd`/%{gcc_target}/newlib/targ-include" - GNATLIBCFLAGS="$GNATLIBCFLAGS -isystem `pwd`/../newlib-%{newlib_version}/newlib/libc/include" - GNATLIBCFLAGS="$GNATLIBCFLAGS -isystem `pwd`/../gcc-%{gcc_version}/include" -# Without this xgcc doesn't find the target's binutils. - GNATLIBCFLAGS="$GNATLIBCFLAGS -B%{_prefix}/%{gcc_target}/bin/" -%if "%{gcc_target}" == "mips-rtems@osversion@" - GNATLIBCFLAGS="$GNATLIBCFLAGS -G0" -%endif - make -C gcc GNATLIBCFLAGS="${GNATLIBCFLAGS}" gnatlib -%endif -%endif make info %install |