#!/bin/sh
# hp48xgcc "good night" script.
# This takes a long time to run.
GCC=$HOME/40meg/gcc-2.7.2
# build DOS version:
echo Start DOS: `date`
make clean
rm -rf /tmp/usr
(cd $GCC; make distclean;
./configure --target=saturn-local-hp48 --host=i486-go32-msdos \
--build=`config.guess` --prefix=c:/usr/)
make XDOS=1 zip
echo End DOS: `date`
# build native version:
echo Start native: `date`
make clean
rm -rf /tmp/usr
(cd $GCC; make distclean; ./configure --target=saturn-local-hp48)
make zip
echo End native: `date`
syntax highlighted by Code2HTML, v. 0.9.1