summaryrefslogtreecommitdiffstats
path: root/scripts-ada/gnatnewlib
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 19:47:11 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 19:47:11 +0000
commita5c0402c8c732516e1fa187e339ac964565321df (patch)
tree8527289ba7cac60d00654c826c82869f1fee8f9b /scripts-ada/gnatnewlib
parent413043b7c06ee839790c7698d485ec6376a79b47 (diff)
downloadrtems-a5c0402c8c732516e1fa187e339ac964565321df.tar.bz2
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* setup.def, gnatnewlib/gnatnewlib.spec.in: Modified to properly build gnat 3.13p-2 RPMs. These were used to run the ACATS with the following results on the powepc-rtems/psim: acats4gnat results cz 3 / 4 acats4gnat results a 75 / 75 acats4gnat results c2 35 / 35 acats4gnat results c3 347 / 349 acats4gnat results c4 333 / 338 acats4gnat results c5 95 / 95 acats4gnat results c6 81 / 81 acats4gnat results c7 47 / 50 acats4gnat results c8 140 / 140 acats4gnat results c9 246 / 255 acats4gnat results ca 73 / 74 acats4gnat results cb 43 / 43 acats4gnat results cc 117 / 117 acats4gnat results cd 172 / 172 acats4gnat results ce 262 / 268 acats4gnat results cxa 85 / 85 acats4gnat results cxb 29 / 30 acats4gnat results cxc 9 / 16 acats4gnat results cxd 27 / 39 acats4gnat results cxe 1 / 1 acats4gnat results cxf 20 / 20 acats4gnat results cxg 28 / 29 acats4gnat results cxh 4 / 4 acats4gnat results d 4 / 4 acats4gnat results e 11 / 11 acats4gnat results l 26 / 26 This compares favorably with the results on Linux. Laurent Guerby's <guerby@acm.org> acats4gnat-0.2 scripts were used with minor modifications to support cross testing.
Diffstat (limited to 'scripts-ada/gnatnewlib')
-rw-r--r--scripts-ada/gnatnewlib/gnatnewlib.spec.in20
1 files changed, 8 insertions, 12 deletions
diff --git a/scripts-ada/gnatnewlib/gnatnewlib.spec.in b/scripts-ada/gnatnewlib/gnatnewlib.spec.in
index 1ace9807a3..5462ca17ef 100644
--- a/scripts-ada/gnatnewlib/gnatnewlib.spec.in
+++ b/scripts-ada/gnatnewlib/gnatnewlib.spec.in
@@ -76,7 +76,7 @@ with appropriate patches.
%package -n rtems-base-gnat
Summary: base package for rtems gnat, gcc, and newlib C Library
-Group: rtems
+Group: gnatrtems
%description -n rtems-base-gnat
@@ -86,7 +86,7 @@ This is the files for gnat, gcc, and newlib that are shared by all targets.
%package -n rtems-base-gnat-binutils
Summary: base package for rtems binutils
-Group: rtems
+Group: gnatrtems
%description -n rtems-base-gnat-binutils
@@ -96,7 +96,7 @@ This is the base for binutils regardless of target CPU.
%package -n @target_alias@-gnat-binutils
Summary: rtems binutils for @target_alias@
-Group: rtems
+Group: gnatrtems
Requires: rtems-base-gnat-binutils
%description -n @target_alias@-gnat-binutils
@@ -107,7 +107,7 @@ This is the GNU binutils for RTEMS targetting @target_alias@.
%package -n @target_alias@-gnat
Summary: rtems gnat, gcc, and newlib C Library for @target_alias@
-Group: rtems
+Group: gnatrtems
Requires: @target_alias@-gnat-binutils rtems-base-gnat
%description -n @target_alias@-gnat
@@ -217,23 +217,19 @@ cd ..
pwd
cd gcc
echo "Starting build of GNAT proper."
- make prefix=$RPM_BUILD_ROOT/opt/gnatrtems \
- CC=gcc CFLAGS="-O2" LANGUAGES="c ada gcov"
+ make CC=gcc CFLAGS="-O2" LANGUAGES="c ada gcov"
echo "Starting build of cross GNAT tools"
- make prefix=$RPM_BUILD_ROOT/opt/gnatrtems \
- CC=gcc CFLAGS="-O2 -g" LANGUAGES="c ada gcov" cross-gnattools
+ make CC=gcc CFLAGS="-O2 -g" LANGUAGES="c ada gcov" cross-gnattools
echo "Starting build of ada.all.cross"
- make prefix=$RPM_BUILD_ROOT/opt/gnatrtems \
- CC=gcc CFLAGS="-O2" LANGUAGES="c ada gcov" ada.all.cross
+ make CC=gcc CFLAGS="-O2" LANGUAGES="c ada gcov" ada.all.cross
# must have -gnato to pass validation
# may want CC=gcc GNATLIBCFLAGS="-O3" GNATLIBFLAGS="-gnatpgn" gnatliy
# NOTE: gnatlib is not multilib'ed -- serious embedded flaw
echo "Starting build of gnatlib"
- make prefix=$RPM_BUILD_ROOT/opt/gnatrtems \
- CC=gcc GNATLIBCFLAGS="-O2 -g" gnatlib
+ make CC=gcc GNATLIBCFLAGS="-O2 -g" gnatlib
%install
cd build