diff -N -r -u -b boost_1_34_0/tools/jam/src/build.sh boost_1_34_0_amiga/tools/jam/src/build.sh --- boost_1_34_0/tools/jam/src/build.sh 2006-02-03 09:57:42 +++ boost_1_34_0_amiga/tools/jam/src/build.sh 2007-05-12 20:00:14 @@ -29,8 +29,8 @@ echo "### ./build.sh gcc" echo "###" echo "### Toolsets supported by this script are:" - echo "### acc, como, darwin, gcc, intel-linux, kcc, kylix, mipspro," - echo "### mingw(msys), qcc, sunpro, tru64cxx, vacpp" + echo "### acc, amiga, como, darwin, gcc, intel-linux, kcc, kylix," + echo "### mipspro, mingw(msys), qcc, sunpro, tru64cxx, vacpp" echo "###" echo "### A special toolset; cc, is available which is used as a fallback" echo "### when a more specific toolset is not found and the cc command is" @@ -64,6 +64,7 @@ if test -r /mingw/bin/gcc ; then BOOST_JAM_TOOLSET=mingw BOOST_JAM_TOOLSET_ROOT=/mingw/ + elif test_uname AmigaOS; then BOOST_JAM_TOOLSET=amiga elif test_uname Darwin ; then BOOST_JAM_TOOLSET=darwin elif test_uname IRIX ; then BOOST_JAM_TOOLSET=mipspro elif test_uname IRIX64 ; then BOOST_JAM_TOOLSET=mipspro @@ -134,6 +135,11 @@ BOOST_JAM_CC=cc ;; + amiga) + BOOST_JAM_CC="gcc -mcrt=clib2" + BOOST_JAM_LIBS=-lunix + ;; + intel-linux) if test -r /opt/intel/cc/9.0/bin/iccvars.sh ; then BOOST_JAM_TOOLSET_ROOT=/opt/intel/cc/9.0/ @@ -233,7 +239,7 @@ strings.c filesys.c builtins.c pwd.c class.c native.c w32_getreg.c\ modules/set.c modules/path.c modules/regex.c modules/property-set.c\ modules/sequence.c modules/order.c\ - execnt.c filent.c" + execnt.c filent.c execamiga.c fileamiga.c pathamiga.c" BJAM_UPDATE= if test "$1" = "--update" -o "$2" = "--update" -o "$3" = "--update" -o "$4" = "--update" ; then @@ -247,7 +253,7 @@ echo_run rm -rf bootstrap echo_run mkdir bootstrap if test ! -r jamgram.y -o ! -r jamgramtab.h ; then - echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_YYACC} ${YYACC_SOURCES} + echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_YYACC} ${YYACC_SOURCES} ${BOOST_JAM_LIBS} if test -x "./bootstrap/yyacc0" ; then echo_run ./bootstrap/yyacc0 jamgram.y jamgramtab.h jamgram.yy fi @@ -261,12 +267,12 @@ mv -f y.tab.h jamgram.h fi if test ! -r jambase.c ; then - echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_MKJAMBASE} ${MKJAMBASE_SOURCES} + echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_MKJAMBASE} ${MKJAMBASE_SOURCES} ${BOOST_JAM_LIBS} if test -x "./bootstrap/mkjambase0" ; then echo_run ./bootstrap/mkjambase0 jambase.c Jambase fi fi - echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_JAM} ${BJAM_SOURCES} + echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_JAM} ${BJAM_SOURCES} ${BOOST_JAM_LIBS} fi if test -x "./bootstrap/jam0" ; then if test "${BJAM_UPDATE}" != "update" ; then