2001-04-10 01:04:59 +00: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 18:17:12 +00:00
|
|
|
CXX="g++"
|
|
|
|
#CFLAGS="-Wall -O2 -mv8 -msupersparc -mno-epilogue"
|
|
|
|
CFLAGS="-Wall -O2 -mv8 -msupersparc"
|
2001-04-10 01:04:59 +00:00
|
|
|
#CFLAGS="-Wall -O2 -g"
|
|
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
|
|
|
|
|
|
|
|
export CC
|
|
|
|
export CXX
|
|
|
|
export CFLAGS
|
|
|
|
export CXXFLAGS
|
|
|
|
|
2006-11-20 18:55:16 +00:00
|
|
|
./configure --enable-ne2000 \
|
2005-07-03 09:57:41 +00:00
|
|
|
--enable-all-optimizations \
|
2007-09-10 15:21:05 +00:00
|
|
|
--enable-cpu-level=6 \
|
|
|
|
--enable-x86-64 \
|
|
|
|
--enable-pci \
|
2005-12-26 16:47:51 +00:00
|
|
|
--enable-clgd54xx \
|
|
|
|
--enable-usb
|
2001-04-10 01:04:59 +00:00
|
|
|
|
|
|
|
unset echo
|