Bochs/bochs/.conf.win32-vcpp
Volker Ruppert 91ac899439 - applied SF patch #867045 from m_suzu_abc@yahoo.co.jp
* fixed compiler errors to build on VC++
  * removed /GX from CXXFLAGS since C++ exception is not used
2004-08-18 11:52:25 +00:00

31 lines
766 B
Bash
Executable File

#!/bin/sh
set echo
export CC=cl
export CXX=cl
#./configure --with-win32-vcpp --enable-port-e9-hack
#./configure --with-win32-vcpp --enable-debugger --enable-disasm --enable-instrumentation="instrument/example0"
#./configure --with-win32-vcpp --enable-debugger --enable-disasm
#./configure --with-win32-vcpp --enable-disasm
./configure --target=pentium-windows \
--enable-cdrom \
--enable-ne2000 \
--enable-vbe \
--enable-all-optimizations \
--disable-readline \
--enable-sb16=win \
--without-x
unset echo
# Fix up all makefiles so that nmake can handle them.
for i in `find . -name Makefile`; do
echo Removing curly brackets in $i for NMAKE.
mv $i $i.tmp
sed -e 's/{/(/g' -e 's/}/)/g' < $i.tmp > $i
rm -f $i.tmp
done