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++"
|
2006-01-17 21:17:01 +03:00
|
|
|
CFLAGS="-O3 -Wall -Wno-format -march=pentium"
|
2001-04-10 05:04:59 +04:00
|
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
|
|
|
|
export CC
|
|
|
|
export CXX
|
|
|
|
export CFLAGS
|
|
|
|
export CXXFLAGS
|
|
|
|
|
2006-11-20 21:55:16 +03:00
|
|
|
./configure --enable-sb16 \
|
2005-03-12 19:34:49 +03:00
|
|
|
--enable-ne2000 \
|
2004-06-18 18:11:11 +04:00
|
|
|
--enable-all-optimizations \
|
|
|
|
--enable-cpu-level=6 \
|
2005-03-12 19:34:49 +03:00
|
|
|
--enable-sse=1 \
|
|
|
|
--enable-pci \
|
2005-05-15 11:10:58 +04:00
|
|
|
--enable-clgd54xx \
|
2005-12-26 19:47:51 +03:00
|
|
|
--enable-usb \
|
2006-06-18 11:28:55 +04:00
|
|
|
--enable-save-restore \
|
2005-05-15 11:10:58 +04:00
|
|
|
--with-win32 --with-rfb --with-nogui
|