2001-04-10 01:04:59 +00: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++"
|
2011-04-20 17:44:00 +00:00
|
|
|
CFLAGS="-O3 -Wall -Wno-format -mno-cygwin"
|
2001-04-10 01:04:59 +00:00
|
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
|
|
|
|
export CC
|
|
|
|
export CXX
|
|
|
|
export CFLAGS
|
|
|
|
export CXXFLAGS
|
|
|
|
|
2006-11-20 18:55:16 +00:00
|
|
|
./configure --enable-sb16 \
|
2005-03-12 16:34:49 +00:00
|
|
|
--enable-ne2000 \
|
2004-06-18 14:11:11 +00:00
|
|
|
--enable-all-optimizations \
|
|
|
|
--enable-cpu-level=6 \
|
2007-09-10 15:21:05 +00:00
|
|
|
--enable-x86-64 \
|
2005-03-12 16:34:49 +00:00
|
|
|
--enable-pci \
|
2005-05-15 07:10:58 +00:00
|
|
|
--enable-clgd54xx \
|
2005-12-26 16:47:51 +00:00
|
|
|
--enable-usb \
|
2009-04-29 18:44:11 +00:00
|
|
|
--enable-usb-ohci \
|
2007-10-09 19:49:23 +00:00
|
|
|
--enable-show-ips \
|
2005-05-15 07:10:58 +00:00
|
|
|
--with-win32 --with-rfb --with-nogui
|