|
|
@ -32,8 +32,8 @@ else |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# If compiling sources from CVS, you may need to uncomment the following two lines: |
|
|
# 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, |
|
|
# 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 |
|
|
# 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 |
|
|
#./autogen.sh --adms |
|
|
#if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi |
|
|
#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 |
|
|
echo |
|
|
if test "$1" = "64"; then |
|
|
if test "$1" = "64"; then |
|
|
cd release64 |
|
|
cd release64 |
|
|
@ -48,14 +51,14 @@ if test "$1" = "64"; then |
|
|
echo "configuring for 64 bit" |
|
|
echo "configuring for 64 bit" |
|
|
echo |
|
|
echo |
|
|
# You may add --enable-adms to the following command for adding adms generated devices |
|
|
# 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 |
|
|
else |
|
|
cd release |
|
|
cd release |
|
|
if [ $? -ne 0 ]; then echo "cd release failed"; exit 1 ; fi |
|
|
if [ $? -ne 0 ]; then echo "cd release failed"; exit 1 ; fi |
|
|
echo "configuring for 32 bit" |
|
|
echo "configuring for 32 bit" |
|
|
echo |
|
|
echo |
|
|
# You may add --enable-adms to the following command for adding adms generated devices |
|
|
# 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 |
|
|
fi |
|
|
if [ $? -ne 0 ]; then echo "../configure failed"; exit 1 ; fi |
|
|
if [ $? -ne 0 ]; then echo "../configure failed"; exit 1 ; fi |
|
|
|
|
|
|
|
|
|