d4871e66a9
* .conf.sparc fixed / cleaned up / new features added * flag _XOPEN_SOURCE is already defined * define BX_HAVE_NET_IF_H when <net/if.h> exists
32 lines
546 B
Bash
Executable File
32 lines
546 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#
|
|
# These are the steps I typically use to configure and compile Bochs.
|
|
#
|
|
|
|
# superSPARC w/ Solaris 2.x
|
|
set echo
|
|
CC="gcc"
|
|
CXX="$CC"
|
|
CFLAGS="-Wall -O2 -mv8 -msupersparc -mno-epilogue"
|
|
#CFLAGS="-Wall -O2 -mv8 -msupersparc"
|
|
#CFLAGS="-Wall -O2 -g"
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
|
|
export CC
|
|
export CXX
|
|
export CFLAGS
|
|
export CXXFLAGS
|
|
|
|
./configure --enable-cdrom \
|
|
--enable-ne2000 \
|
|
--enable-vbe \
|
|
--enable-all-optimizations \
|
|
--enable-cpu-level=6 \
|
|
--enable-sse=1 \
|
|
--enable-pci \
|
|
--enable-clgd54xx
|
|
|
|
unset echo
|