2001-05-23 07:16:34 +04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# These are the steps I typically use to configure and compile Bochs
|
2001-10-08 01:23:00 +04:00
|
|
|
# on a Linux x86 system with gcc
|
2001-05-23 07:16:34 +04:00
|
|
|
#
|
|
|
|
|
2001-10-08 01:23:00 +04:00
|
|
|
CC="gcc"
|
2001-05-23 07:16:34 +04:00
|
|
|
CXX="c++"
|
|
|
|
CFLAGS="-Wall -O2 -fomit-frame-pointer -pipe"
|
|
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
|
|
|
|
export CC
|
|
|
|
export CXX
|
|
|
|
export CFLAGS
|
|
|
|
export CXXFLAGS
|
|
|
|
|
2001-08-14 10:09:28 +04:00
|
|
|
./configure --enable-fpu --enable-cdrom --enable-sb16=linux --enable-split-hd --enable-ne2000 ${CONFIGURE_ARGS}
|
2001-05-23 07:16:34 +04:00
|
|
|
#./configure --enable-fpu
|
|
|
|
#./configure
|
|
|
|
#./configure --enable-cdrom --enable-cpu-level=4
|
|
|
|
|
|
|
|
|
|
|
|
#./configure --enable-fpu \
|
|
|
|
# --enable-x86-debugger \
|
|
|
|
# --enable-debugger \
|
|
|
|
# --enable-loader \
|
|
|
|
# --enable-disasm
|
|
|
|
|
|
|
|
#./configure --enable-fpu --enable-cdrom
|
|
|
|
# --enable-x86-debugger
|
|
|
|
|
|
|
|
#--enable-debugger --enable-disasm
|
|
|
|
#./configure --enable-fpu --enable-cpu-level=5 \
|
|
|
|
# --enable-debugger --enable-disasm
|
|
|
|
#./configure
|
|
|
|
|
|
|
|
#./configure --enable-cpu-level=5
|
|
|
|
#./configure --enable-fpu --enable-cpu-level=4
|
|
|
|
#./configure --enable-fpu
|
|
|
|
#./configure --enable-debugger --enable-disasm --enable-fpu
|
|
|
|
|
|
|
|
#./configure --enable-fpu
|
|
|
|
#./configure --enable-cpu-level=3
|
|
|
|
#./configure --enable-cpu-level=3 --enable-fpu
|
|
|
|
# --enable-debugger --enable-disasm
|
|
|
|
#./configure --enable-pci
|
|
|
|
#./configure --enable-debugger --enable-disasm
|
|
|
|
#./configure --enable-debugger --enable-disasm --enable-loader
|
|
|
|
#./configure --enable-dynamic=i386
|
|
|
|
#./configure --enable-debugger --enable-disasm --enable-num-sim=2 --enable-simid=0
|
|
|
|
#./configure --enable-debugger --enable-disasm --enable-num-sim=2 --enable-simid=1 --enable-time0=917385580
|
|
|
|
#./configure --enable-ne2000
|