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 \
|
2007-09-10 19:21:05 +04:00
|
|
|
--enable-x86-64 \
|
|
|
|
--enable-sse=2 \
|
2005-03-12 19:34:49 +03:00
|
|
|
--enable-pci \
|
2007-09-10 19:21:05 +04:00
|
|
|
--enable-acpi \
|
2005-05-15 11:10:58 +04:00
|
|
|
--enable-clgd54xx \
|
2005-12-26 19:47:51 +03:00
|
|
|
--enable-usb \
|
2007-10-09 23:49:23 +04:00
|
|
|
--enable-show-ips \
|
2005-05-15 11:10:58 +04:00
|
|
|
--with-win32 --with-rfb --with-nogui
|