Can't build 1.8.2-- missing install-sh?!
Robert
robert.melchers@drives.eurotherm.co.uk
Fri Feb 25 01:13:00 GMT 2000
I used the attached
and don't recall having any problems, I seem to remember having to change from
target=sh-hms to target=sh-coff to keep things sweet. This built from bash
running on WinNT using sh-coff-2.95.2.
ÃÂ
I don't have a clue
what difference this makes.
ÃÂ
Robert.
ÃÂ
-------------------------
ÃÂ
ÃÂ
ÃÂ
ÃÂ
ÃÂ
latest-newlib.sh
-------------- next part --------------
binutils_src=/cygnus/binutils-2.9.1
gcc_src=/cygnus/gcc-2.95.2
bin_src=/cygnus/binutils-2.9
newlib_src=/cygnus/newlib-1.8.2
prefix=/cygnus/sh-coff-2.95.2
program_prefix=sh-coff-
target=sh-coff
#host=i586-cygwin32
#
# Configure, build and install newlib
echo Building NEWLIB
PATH=$prefix/bin:$PATH ; export PATH
if ! test -e build-newlib ; then
mkdir build-newlib
fi
cd build-newlib
if ! test -e Makefile ; then
echo makefile not found so running configure
$newlib_src/configure --target=$target --prefix=$prefix -nfp -v
# The settings for FOO_FOR_TARGET aren't necessary if you put $prefix/bin
# in your path before running this.
else
echo makefile found so not re-running configure
fi
i=$prefix/bin
make cross install \
CC_FOR_TARGET=$i/${target}-gcc \
AS_FOR_TARGET=$i/${target}-as \
LD_FOR_TARGET=$i/${target}-ld \
AR_FOR_TARGET=$i/${target}-ar \
RANLIB_FOR_TARGET=$i/${target}-ranlib
More information about the Newlib
mailing list