2001-04-10 05:04:59 +04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# These are the steps I typically use to configure and compile Bochs
|
|
|
|
# on a Win32 system with cygwin (v.20.1)
|
|
|
|
#
|
|
|
|
|
|
|
|
CC="gcc"
|
|
|
|
CXX="g++"
|
2004-06-18 18:11:11 +04:00
|
|
|
CFLAGS="-O3 -march=pentium"
|
2001-04-10 05:04:59 +04:00
|
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
|
|
|
|
export CC
|
|
|
|
export CXX
|
|
|
|
export CFLAGS
|
|
|
|
export CXXFLAGS
|
|
|
|
|
2002-03-21 05:50:06 +03:00
|
|
|
./configure --enable-cdrom \
|
|
|
|
--enable-sb16=win \
|
|
|
|
--enable-ne2000 \
|
2004-06-18 18:11:11 +04:00
|
|
|
--enable-pci \
|
2002-11-19 19:53:51 +03:00
|
|
|
--enable-vbe \
|
2004-06-18 18:11:11 +04:00
|
|
|
--enable-all-optimizations \
|
|
|
|
--enable-cpu-level=6 \
|
|
|
|
--enable-sse=2
|