[Vm-dev] Cog/build.linux32x86/squeak.cog.v3/build.debug/mvm heads up on conflicting -DDEBUGVM flags

gettimothy gettimothy at zoho.com
Mon Jun 23 16:58:38 UTC 2014


Hi Eliot.



I am guessing this could cause problems as it is specifically in the build.debug file...


conflict in bold





 #!/bin/bash
# debug VM with VM profiler and threaded heartbeat
INSTALLDIR=debug/coglinuxht
OPT="-g3 -O0 -DDEBUGVM=1"

if [ $# -ge 1 ]; then
 INSTALLDIR="$1"; shift
fi

echo -n "clean? "
read a
case $a in
n|no|N|NO) echo "ok but this isn't safe!!";;
*) test -f Makefile && make reallyclean
esac
test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \
 CC="gcc -m32" \
 CXX="g++ -m32" \
 CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \
 LIBS="-lpthread -luuid" \
 LDFLAGS=-Wl,-z,now
rm -f vm/sqUnixMain.o # nuke version info
rm -rf ../../../products/$INSTALLDIR
# prefer make install prefix=`readlink -f \`pwd\`/../../../products/$INSTALLDIR`
# but older linux readlinks lack the -f flag
make install prefix=`(cd ../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG



cheers, tty.






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140623/c7924f7f/attachment.htm


More information about the Vm-dev mailing list