2001-04-10 05:04:59 +04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#
|
|
|
|
# These are the steps I typically use to configure and compile Bochs.
|
|
|
|
#
|
|
|
|
|
|
|
|
# superSPARC w/ Solaris 2.x
|
|
|
|
set echo
|
|
|
|
CC="gcc"
|
2005-07-04 22:17:12 +04:00
|
|
|
CXX="g++"
|
|
|
|
#CFLAGS="-Wall -O2 -mv8 -msupersparc -mno-epilogue"
|
|
|
|
CFLAGS="-Wall -O2 -mv8 -msupersparc"
|
2001-04-10 05:04:59 +04:00
|
|
|
#CFLAGS="-Wall -O2 -g"
|
|
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
|
|
|
|
|
|
|
|
export CC
|
|
|
|
export CXX
|
|
|
|
export CFLAGS
|
|
|
|
export CXXFLAGS
|
|
|
|
|
2006-11-20 21:55:16 +03:00
|
|
|
./configure --enable-ne2000 \
|
2005-07-03 13:57:41 +04:00
|
|
|
--enable-all-optimizations \
|
2007-09-10 19:21:05 +04:00
|
|
|
--enable-cpu-level=6 \
|
|
|
|
--enable-x86-64 \
|
|
|
|
--enable-pci \
|
2005-12-26 19:47:51 +03:00
|
|
|
--enable-clgd54xx \
|
|
|
|
--enable-usb
|
2001-04-10 05:04:59 +04:00
|
|
|
|
|
|
|
unset echo
|