From 5b1be4d32d4fa617009298976325f333db60500d Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sat, 28 Jan 2012 09:59:27 +0000 Subject: [PATCH] prepare for release 24 --- compile_min.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/compile_min.sh b/compile_min.sh index fd04eb901..81f925f9f 100644 --- a/compile_min.sh +++ b/compile_min.sh @@ -32,8 +32,8 @@ else fi # If compiling sources from CVS, you may need to uncomment the following two lines: -#./autogen.sh -#if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi +./autogen.sh +if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi # Alternatively, if compiling sources from CVS, and want to add adms created devices, # you may need to uncomment the following two lines (and don't forget to add adms option @@ -41,6 +41,9 @@ fi #./autogen.sh --adms #if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi +# In the following ../configure commands you will find an additional entry to the CFLAGS +# '-fno-omit-frame-pointer'. This entry compensates for a compiler bug of actual mingw gcc 4.6.1. + echo if test "$1" = "64"; then cd release64 @@ -48,14 +51,14 @@ if test "$1" = "64"; then echo "configuring for 64 bit" echo # You may add --enable-adms to the following command for adding adms generated devices - ../configure --with-windows --enable-xspice --enable-cider --enable-openmp --disable-debug prefix="C:/Spice64" CFLAGS="-m64" LDFLAGS="-m64" + ../configure --with-windows --enable-xspice --enable-cider --enable-openmp --disable-debug prefix="C:/Spice64" CFLAGS="-m64 -fno-omit-frame-pointer" LDFLAGS="-m64" else cd release if [ $? -ne 0 ]; then echo "cd release failed"; exit 1 ; fi echo "configuring for 32 bit" echo # You may add --enable-adms to the following command for adding adms generated devices - ../configure --with-windows --enable-xspice --enable-cider --enable-openmp --disable-debug prefix="C:/Spice" CFLAGS="-m32" LDFLAGS="-m32" + ../configure --with-windows --enable-xspice --enable-cider --enable-openmp --disable-debug prefix="C:/Spice" CFLAGS="-m32 -fno-omit-frame-pointer" LDFLAGS="-m32" fi if [ $? -ne 0 ]; then echo "../configure failed"; exit 1 ; fi