summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-01-27 16:38:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-01-27 16:38:54 +0000
commit180a2ebdea4956032fd1532561cb3b43e971d72e (patch)
tree7d18f3441c96df32ed17c06181da58a87b72fcf2
parent2003-01-27 Till Straumann <strauman@SLAC.Stanford.edu> (diff)
downloadrtems-180a2ebdea4956032fd1532561cb3b43e971d72e.tar.bz2
2003-01-27 RTEMS
* buildalltar.in, setup.def: Tool update including binaries for Cygwin with a special RTEMS user account.
-rw-r--r--scripts/ChangeLog5
-rw-r--r--scripts/buildalltar.in36
-rw-r--r--scripts/setup.def8
3 files changed, 30 insertions, 19 deletions
diff --git a/scripts/ChangeLog b/scripts/ChangeLog
index c7a9fe10aa..0ea0fd1824 100644
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-27 RTEMS
+
+ * buildalltar.in, setup.def: Tool update including binaries for Cygwin
+ with a special RTEMS user account.
+
2003-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add rtemsdoc.
diff --git a/scripts/buildalltar.in b/scripts/buildalltar.in
index 5ee08a7307..dd3e85143c 100644
--- a/scripts/buildalltar.in
+++ b/scripts/buildalltar.in
@@ -95,26 +95,30 @@ fi
# This is the full list .. hppa1.1 does not build now.
-#ALL_TARGETS="hppa1.1-rtems i386-rtems i960-rtems m68k-rtems \
-# m68k-rtemself mips-rtems mips64orion-rtems \
-# powerpc-rtems sh-rtems sh-rtemself sparc-rtems"
+#ALL_TARGETS="arm-rtems h8300-rtems hppa1.1-rtems i386-rtems i960-rtems \
+# m68k-rtems mips64orion-rtems mips-rtems or32-rtems powerpc-rtems \
+# sh-rtems sh-rtemself sparc-rtems"
# This is the full buildable set.
if [ "X${TARGETS}" = "X" ] ; then
# do not include c4x or hppa primary targets
# do not include sh-elf or i960-elf secondary targets
- TARGETS="arm-rtems h8300-rtems i386-rtems i960-rtems m68k-rtems \
- mips-rtems mips64orion-rtems powerpc-rtems sh-rtems sparc-rtems"
+ TARGETS="arm-rtems h8300-rtems hppa1.1-rtems i386-rtems \
+ m68k-rtems mips64orion-rtems mips-rtems powerpc-rtems \
+ sh-rtems sh-rtemself sparc-rtems"
fi
. $CFG
+# override the one from $CFG since it likely has a % in it to use the
+# .rpmrc setting which we can't use
+rpm_build_root=${HOME}/tmp
+
binutils=${binutils_version}
-gcc=${gcc_version}
+gcc=${gcc3_version}
gdb=${gdb_version}
-newlib=${newlib_version}
+newlib=${gcc3newlib_version}
# also use binutils_rpm_release
-buildroot=/tmp
#
# Now get started
@@ -203,12 +207,12 @@ do
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
check_fatal $? "make install-info"
- cd ${buildroot}
+ cd ${rpm_build_root}
tar cjf ${bintarfile}.bz2 opt
cd ${CWD}
rm -rf b-${target}-bin
${ECHO} rm -rf ${rpm_build_root}/opt
- #rm -rf ${rpm_build_root}/opt
+ rm -rf ${rpm_build_root}/opt
else
echo Skipping binutils for ${target}
fi
@@ -225,8 +229,7 @@ do
gcctarfile=${OUT}/${target}-gcc-${gcc}-newlib-${newlib}-${gccnewlib_rpm_release}.tar
if [ ${cdn_cross} = "no" ] ; then
bintarfile=${dst}/binaries/binutils-${binutils}-${binutils_rpm_release}/${target}-binutils-${binutils}-${binutils_rpm_release}.tar
- cd /
- rm -rf /opt/*
+ rm -rf ${rpm_build_root}/opt/*
tar xjf ${bintarfile}.bz2
fi
@@ -244,7 +247,10 @@ do
cd b-${target}-gccnewlib
echo "Building gcc-${gcc} for ${target}"
../gcc-${gcc}/configure ${CDN_ARGS} --target=${target} \
- --with-gnu-as --with-gnu-ld --with-newlib --verbose --enable-threads \
+ --with-gnu-as --with-gnu-ld --with-newlib --verbose \
+ --with-system-zlib --disable-nls \
+ --enable-version-specific-runtime-libs \
+ --enable-threads=rtems \
--prefix=/opt/rtems '--enable-languages=c,c++' >${logfile} 2>&1
check_fatal $? "gcc configure"
@@ -261,7 +267,7 @@ do
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
check_fatal $? "newlib make install-info"
- cd ${buildroot}
+ cd ${rpm_build_root}
tar cjf ${gcctarfile}.bz2 opt
cd ${CWD}
rm -rf ${rpm_build_root}/opt
@@ -320,7 +326,7 @@ esac
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
check_fatal $? "make install-info"
- cd ${buildroot}
+ cd ${rpm_build_root}
tar cjf ${gdbtarfile}.bz2 opt
cd ${CWD}
${ECHO} rm -rf ${rpm_build_root}/opt
diff --git a/scripts/setup.def b/scripts/setup.def
index fd58202e3c..6c5a02074f 100644
--- a/scripts/setup.def
+++ b/scripts/setup.def
@@ -3,7 +3,7 @@
#
# $Id$
#
-binutils_version=2.13.1
+binutils_version=2.13.2.1
binutils_patch_version=
binutils_rpm_release=1
newlib_version=1.10.0
@@ -17,8 +17,8 @@ gdb_rpm_release=1
rtems_version=ss-20000726
rtems_rpm_release=1
rpm_build_root=%{_tmppath}
-gcc3newlib_version=1.10.0
-gcc3newlib_patch_version=20021127
+gcc3newlib_version=1.11.0
+gcc3newlib_patch_version=20030120
gcc3_version=3.2.1
gcc3_patch_version=20021209
-gcc3newlib_rpm_release=4
+gcc3newlib_rpm_release=1