2001-06-05 21:41:23 +04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
export CVSROOT=':ext:bdenney@cvs.sourceforge.net:/cvsroot/bochs'
|
|
|
|
export CVSPATH=buildbochs
|
|
|
|
echo Removing $CVSPATH
|
|
|
|
#rm -rf $CVSPATH
|
|
|
|
echo Checking out in $CVSPATH
|
|
|
|
cvs -q checkout -d $CVSPATH bochs
|
|
|
|
|
|
|
|
function Buildone {
|
2001-06-07 05:33:56 +04:00
|
|
|
BIN=$1; TAG=$2; CONFIG_ARGS=$3; PATCHLIST=$4
|
2001-06-05 21:41:23 +04:00
|
|
|
cvs checkout -d $CVSPATH -r $TAG bochs
|
2001-06-07 05:33:56 +04:00
|
|
|
for P in $PATCHLIST; do
|
|
|
|
patch -p0 < $P
|
|
|
|
done
|
|
|
|
|
2001-06-05 21:41:23 +04:00
|
|
|
(cd $CVSPATH; ./configure $CONFIG_ARGS && make && cp bochs ../$BIN; make dist-clean)
|
2001-06-07 05:33:56 +04:00
|
|
|
for P in $PATCHLIST; do
|
|
|
|
patch -p0 -R < $P
|
|
|
|
done
|
2001-06-05 21:41:23 +04:00
|
|
|
}
|
|
|
|
|
2001-06-05 21:48:49 +04:00
|
|
|
# See notes for some results from running these different binaries.
|
2001-06-05 21:41:23 +04:00
|
|
|
|
2001-06-05 21:48:49 +04:00
|
|
|
Buildone bochs000 REL_1_2_FINAL ""
|
|
|
|
Buildone bochs001 REL_1_2_FINAL "" patch.disable-smf-cpu
|
|
|
|
Buildone bochs002 REL_1_2_FINAL "" patch.disable-smf
|
|
|
|
Buildone bochs004 REL_1_2_FINAL "--with-nogui"
|
2001-06-07 05:33:56 +04:00
|
|
|
Buildone bochs005 REL_1_2_FINAL "--enable-debugger"
|
2001-06-05 21:48:49 +04:00
|
|
|
Buildone bochs006 REL_1_2_FINAL "--enable-cdrom --enable-sb16=linux --enable-debugger"
|
|
|
|
Buildone bochs006a REL_1_2_FINAL "--enable-cdrom"
|
|
|
|
Buildone bochs006b REL_1_2_FINAL "--enable-sb16=linux"
|
|
|
|
Buildone bochs006c REL_1_2_FINAL "--enable-cdrom --enable-sb16=linux"
|
|
|
|
Buildone bochs006d REL_1_2_FINAL ""
|
|
|
|
Buildone bochs006e REL_1_2_FINAL "--enable-cdrom --enable-debugger"
|
|
|
|
Buildone bochs006f REL_1_2_FINAL "--enable-sb16=linux --enable-debugger"
|
|
|
|
Buildone bochs007 REL_1_2_FINAL "" patch.no-logging
|
|
|
|
export CFLAGS=""; export CXXFLAGS="$CFLAGS"
|
|
|
|
Buildone bochs008 REL_1_2_FINAL ""
|
|
|
|
export CFLAGS="-O2 -fomit-frame-pointer"; export CXXFLAGS="$CFLAGS"
|
|
|
|
Buildone bochs008a REL_1_2_FINAL ""
|
|
|
|
export CFLAGS="-O6 -fomit-frame-pointer"; export CXXFLAGS="$CFLAGS"
|
|
|
|
Buildone bochs008b REL_1_2_FINAL ""
|
|
|
|
unset CFLAGS; unset CXXFLAGS
|
|
|
|
Buildone bochs010 REL_1_2_FINAL "--enable-processors=2"
|
|
|
|
Buildone bochs011 REL_1_2_FINAL "--enable-processors=2 --enable-debugger"
|
|
|
|
Buildone bochs015 REL_1_2_FINAL "--enable-processors=4" "patch.boost-logfns"
|
|
|
|
Buildone bochs016 REL_1_2_FINAL "--enable-processors=4 --enable-debugger" "patch.boost-logfns"
|
|
|
|
Buildone bochs020 REL_1_1_2_BASE ""
|
|
|
|
Buildone bochs021 REL_1_1_2_BASE "--enable-debugger"
|
|
|
|
Buildone bochs030 REL-bochs-2000-03-25 "--enable-fpu"
|
|
|
|
Buildone bochs031 REL-bochs-2000-03-25 "--enable-fpu --enable-debugger --enable-disas"
|
2001-06-07 05:33:56 +04:00
|
|
|
Buildone bochs040 no-cpu-array-for-1proc "" "patch.make-reset-panic"
|
|
|
|
Buildone bochs041 no-cpu-array-for-1proc "" "patch.make-reset-panic patch.disable-smf-cpu"
|
|
|
|
Buildone bochs042 no-cpu-array-for-1proc "" "patch.make-reset-panic patch.disable-smf-other"
|
|
|
|
Buildone bochs043 no-cpu-array-for-1proc "" "patch.make-reset-panic patch.disable-smf-cpu patch.disable-smf-other"
|
|
|
|
Buildone bochs044 no-cpu-array-for-1proc "--enable-debugger" "patch.make-reset-panic"
|
|
|
|
Buildone bochs045 no-cpu-array-for-1proc "--enable-processors=2" "patch.make-reset-panic"
|
|
|
|
Buildone bochs046 no-cpu-array-for-1proc "--enable-processors=2 --enable-debugger" "patch.make-reset-panic"
|
|
|
|
Buildone bochs047 no-cpu-array-for-1proc "--enable-processors=4" "patch.make-reset-panic"
|
|
|
|
Buildone bochs048 no-cpu-array-for-1proc "--enable-processors=4 --enable-debugger" "patch.make-reset-panic patch.boost-logfns"
|