diff -N -r -u -b boost_1_34_0/tools/jam/src/build.sh boost_1_34_0_amiga/tools/jam/src/build.sh
old
|
new
|
|
29 | 29 | echo "### ./build.sh gcc" |
30 | 30 | echo "###" |
31 | 31 | echo "### Toolsets supported by this script are:" |
32 | | echo "### acc, como, darwin, gcc, intel-linux, kcc, kylix, mipspro," |
33 | | echo "### mingw(msys), qcc, sunpro, tru64cxx, vacpp" |
| 32 | echo "### acc, amiga, como, darwin, gcc, intel-linux, kcc, kylix," |
| 33 | echo "### mipspro, mingw(msys), qcc, sunpro, tru64cxx, vacpp" |
34 | 34 | echo "###" |
35 | 35 | echo "### A special toolset; cc, is available which is used as a fallback" |
36 | 36 | echo "### when a more specific toolset is not found and the cc command is" |
… |
… |
|
64 | 64 | if test -r /mingw/bin/gcc ; then |
65 | 65 | BOOST_JAM_TOOLSET=mingw |
66 | 66 | BOOST_JAM_TOOLSET_ROOT=/mingw/ |
| 67 | elif test_uname AmigaOS; then BOOST_JAM_TOOLSET=amiga |
67 | 68 | elif test_uname Darwin ; then BOOST_JAM_TOOLSET=darwin |
68 | 69 | elif test_uname IRIX ; then BOOST_JAM_TOOLSET=mipspro |
69 | 70 | elif test_uname IRIX64 ; then BOOST_JAM_TOOLSET=mipspro |
… |
… |
|
134 | 135 | BOOST_JAM_CC=cc |
135 | 136 | ;; |
136 | 137 | |
| 138 | amiga) |
| 139 | BOOST_JAM_CC="gcc -mcrt=clib2" |
| 140 | BOOST_JAM_LIBS=-lunix |
| 141 | ;; |
| 142 | |
137 | 143 | intel-linux) |
138 | 144 | if test -r /opt/intel/cc/9.0/bin/iccvars.sh ; then |
139 | 145 | BOOST_JAM_TOOLSET_ROOT=/opt/intel/cc/9.0/ |
… |
… |
|
233 | 239 | strings.c filesys.c builtins.c pwd.c class.c native.c w32_getreg.c\ |
234 | 240 | modules/set.c modules/path.c modules/regex.c modules/property-set.c\ |
235 | 241 | modules/sequence.c modules/order.c\ |
236 | | execnt.c filent.c" |
| 242 | execnt.c filent.c execamiga.c fileamiga.c pathamiga.c" |
237 | 243 | |
238 | 244 | BJAM_UPDATE= |
239 | 245 | if test "$1" = "--update" -o "$2" = "--update" -o "$3" = "--update" -o "$4" = "--update" ; then |
… |
… |
|
247 | 253 | echo_run rm -rf bootstrap |
248 | 254 | echo_run mkdir bootstrap |
249 | 255 | if test ! -r jamgram.y -o ! -r jamgramtab.h ; then |
250 | | echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_YYACC} ${YYACC_SOURCES} |
| 256 | echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_YYACC} ${YYACC_SOURCES} ${BOOST_JAM_LIBS} |
251 | 257 | if test -x "./bootstrap/yyacc0" ; then |
252 | 258 | echo_run ./bootstrap/yyacc0 jamgram.y jamgramtab.h jamgram.yy |
253 | 259 | fi |
… |
… |
|
261 | 267 | mv -f y.tab.h jamgram.h |
262 | 268 | fi |
263 | 269 | if test ! -r jambase.c ; then |
264 | | echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_MKJAMBASE} ${MKJAMBASE_SOURCES} |
| 270 | echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_MKJAMBASE} ${MKJAMBASE_SOURCES} ${BOOST_JAM_LIBS} |
265 | 271 | if test -x "./bootstrap/mkjambase0" ; then |
266 | 272 | echo_run ./bootstrap/mkjambase0 jambase.c Jambase |
267 | 273 | fi |
268 | 274 | fi |
269 | | echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_JAM} ${BJAM_SOURCES} |
| 275 | echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_JAM} ${BJAM_SOURCES} ${BOOST_JAM_LIBS} |
270 | 276 | fi |
271 | 277 | if test -x "./bootstrap/jam0" ; then |
272 | 278 | if test "${BJAM_UPDATE}" != "update" ; then |