2001-04-10 05:04:59 +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-04-10 05:04:59 +04:00
|
|
|
#
|
|
|
|
|
2001-10-08 01:23:00 +04:00
|
|
|
CC="gcc"
|
2001-05-12 09:14:13 +04:00
|
|
|
CXX="c++"
|
2001-04-10 05:04:59 +04:00
|
|
|
CFLAGS="-Wall -O2 -m486 -fomit-frame-pointer -pipe"
|
|
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
|
|
|
|
export CC
|
|
|
|
export CXX
|
|
|
|
export CFLAGS
|
|
|
|
export CXXFLAGS
|
|
|
|
|
|
|
|
./configure --enable-fpu
|
|
|
|
#./configure --enable-fpu --enable-cdrom --enable-sb16=linux
|
|
|
|
#./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
|