From 5e136355c1e4bcaf73764a9df20a010151fa9120 Mon Sep 17 00:00:00 2001 From: Tobias Pape Date: Fri, 23 Feb 2018 15:13:09 +0100 Subject: [PATCH 1/8] Use C99 It is so old it already could drive a Car. Or drink wine and beer in Germany. --- build.linux32ARMv6/newspeak.cog.spur/build.assert/mvm | 2 +- build.linux32ARMv6/newspeak.cog.spur/build.debug/mvm | 2 +- build.linux32ARMv6/newspeak.cog.spur/build/mvm | 2 +- build.linux32ARMv6/newspeak.stack.spur/build.assert/mvm | 2 +- build.linux32ARMv6/newspeak.stack.spur/build.debug/mvm | 2 +- build.linux32ARMv6/newspeak.stack.spur/build/mvm | 2 +- build.linux32ARMv6/pharo.cog.spur/build.assert/mvm | 2 +- build.linux32ARMv6/pharo.cog.spur/build.debug/mvm | 2 +- build.linux32ARMv6/pharo.cog.spur/build/mvm | 2 +- build.linux32ARMv6/squeak.cog.spur/build.assert/mvm | 2 +- build.linux32ARMv6/squeak.cog.spur/build.debug/mvm | 2 +- build.linux32ARMv6/squeak.cog.spur/build/mvm | 2 +- build.linux32ARMv6/squeak.stack.spur/build.assert/mvm | 2 +- build.linux32ARMv6/squeak.stack.spur/build.debug/mvm | 2 +- build.linux32ARMv6/squeak.stack.spur/build/mvm | 2 +- build.linux32ARMv6/squeak.stack.v3/build.assert/mvm | 2 +- build.linux32ARMv6/squeak.stack.v3/build.debug/mvm | 2 +- build.linux32ARMv6/squeak.stack.v3/build/mvm | 2 +- build.linux32ARMv7/newspeak.cog.spur/build.assert/mvm | 2 +- build.linux32ARMv7/newspeak.cog.spur/build.debug/mvm | 2 +- build.linux32ARMv7/newspeak.cog.spur/build/mvm | 2 +- build.linux32ARMv7/newspeak.stack.spur/build.assert/mvm | 2 +- build.linux32ARMv7/newspeak.stack.spur/build.debug/mvm | 2 +- build.linux32ARMv7/newspeak.stack.spur/build/mvm | 2 +- .../newspeak.cog.spur/build.assert.itimerheartbeat/mvm | 2 +- build.linux32x86/newspeak.cog.spur/build.assert/mvm | 2 +- .../newspeak.cog.spur/build.debug.itimerheartbeat/mvm | 2 +- build.linux32x86/newspeak.cog.spur/build.debug/mvm | 2 +- build.linux32x86/newspeak.cog.spur/build.itimerheartbeat/mvm | 4 ++-- build.linux32x86/newspeak.cog.spur/build/mvm | 4 ++-- build.linux32x86/newspeak.stack.spur/build.assert/mvm | 2 +- build.linux32x86/newspeak.stack.spur/build.debug/mvm | 2 +- build.linux32x86/newspeak.stack.spur/build/mvm | 4 ++-- .../nsnac.cog.spur/build.assert.itimerheartbeat/mvm | 2 +- build.linux32x86/nsnac.cog.spur/build.assert/mvm | 2 +- .../nsnac.cog.spur/build.debug.itimerheartbeat/mvm | 2 +- build.linux32x86/nsnac.cog.spur/build.debug/mvm | 2 +- build.linux32x86/nsnac.cog.spur/build.itimerheartbeat/mvm | 4 ++-- build.linux32x86/nsnac.cog.spur/build/mvm | 4 ++-- .../pharo.cog.spur.lowcode/build.assert.itimerheartbeat/mvm | 2 +- build.linux32x86/pharo.cog.spur.lowcode/build.assert/mvm | 2 +- .../pharo.cog.spur.lowcode/build.debug.itimerheartbeat/mvm | 2 +- build.linux32x86/pharo.cog.spur.lowcode/build.debug/mvm | 2 +- .../pharo.cog.spur.lowcode/build.itimerheartbeat/mvm | 4 ++-- build.linux32x86/pharo.cog.spur.lowcode/build/mvm | 4 ++-- .../pharo.cog.spur/build.assert.itimerheartbeat/mvm | 2 +- build.linux32x86/pharo.cog.spur/build.assert/mvm | 2 +- .../pharo.cog.spur/build.debug.itimerheartbeat/mvm | 2 +- build.linux32x86/pharo.cog.spur/build.debug/mvm | 2 +- build.linux32x86/pharo.cog.spur/build.itimerheartbeat/mvm | 4 ++-- build.linux32x86/pharo.cog.spur/build/mvm | 4 ++-- .../pharo.stack.spur.lowcode/build.assert.itimerheartbeat/mvm | 2 +- build.linux32x86/pharo.stack.spur.lowcode/build.assert/mvm | 2 +- .../pharo.stack.spur.lowcode/build.debug.itimerheartbeat/mvm | 2 +- build.linux32x86/pharo.stack.spur.lowcode/build.debug/mvm | 2 +- .../pharo.stack.spur.lowcode/build.itimerheartbeat/mvm | 4 ++-- build.linux32x86/pharo.stack.spur.lowcode/build/mvm | 4 ++-- .../squeak.cog.spur.immutability/build.assert/mvm | 2 +- build.linux32x86/squeak.cog.spur.immutability/build.debug/mvm | 2 +- build.linux32x86/squeak.cog.spur.immutability/build/mvm | 4 ++-- .../squeak.cog.spur/build.assert.itimerheartbeat/mvm | 2 +- build.linux32x86/squeak.cog.spur/build.assert/mvm | 2 +- .../squeak.cog.spur/build.debug.itimerheartbeat/mvm | 2 +- build.linux32x86/squeak.cog.spur/build.debug/mvm | 2 +- build.linux32x86/squeak.cog.spur/build.itimerheartbeat/mvm | 4 ++-- build.linux32x86/squeak.cog.spur/build/mvm | 4 ++-- .../squeak.cog.v3/build.assert.itimerheartbeat/mvm | 2 +- build.linux32x86/squeak.cog.v3/build.assert/mvm | 2 +- .../squeak.cog.v3/build.debug.itimerheartbeat/mvm | 2 +- build.linux32x86/squeak.cog.v3/build.debug/mvm | 2 +- build.linux32x86/squeak.cog.v3/build.itimerheartbeat/mvm | 4 ++-- build.linux32x86/squeak.cog.v3/build.multithreaded.assert/mvm | 2 +- build.linux32x86/squeak.cog.v3/build.multithreaded.debug/mvm | 2 +- build.linux32x86/squeak.cog.v3/build.multithreaded/mvm | 4 ++-- build.linux32x86/squeak.cog.v3/build/mvm | 4 ++-- .../squeak.sista.spur/build.assert.itimerheartbeat/mvm | 2 +- build.linux32x86/squeak.sista.spur/build.assert/mvm | 2 +- .../squeak.sista.spur/build.debug.itimerheartbeat/mvm | 2 +- build.linux32x86/squeak.sista.spur/build.debug/mvm | 2 +- build.linux32x86/squeak.sista.spur/build.itimerheartbeat/mvm | 4 ++-- build.linux32x86/squeak.sista.spur/build/mvm | 4 ++-- build.linux32x86/squeak.stack.spur/build.assert/mvm | 2 +- build.linux32x86/squeak.stack.spur/build.debug/mvm | 2 +- build.linux32x86/squeak.stack.spur/build/mvm | 4 ++-- build.linux32x86/squeak.stack.v3/build.assert/mvm | 2 +- build.linux32x86/squeak.stack.v3/build.debug/mvm | 2 +- build.linux32x86/squeak.stack.v3/build/mvm | 4 ++-- .../newspeak.cog.spur/build.assert.itimerheartbeat/mvm | 2 +- build.linux64x64/newspeak.cog.spur/build.assert/mvm | 2 +- .../newspeak.cog.spur/build.debug.itimerheartbeat/mvm | 2 +- build.linux64x64/newspeak.cog.spur/build.debug/mvm | 2 +- build.linux64x64/newspeak.cog.spur/build.itimerheartbeat/mvm | 4 ++-- build.linux64x64/newspeak.cog.spur/build/mvm | 4 ++-- build.linux64x64/newspeak.stack.spur/build.assert/mvm | 2 +- build.linux64x64/newspeak.stack.spur/build.debug/mvm | 2 +- build.linux64x64/newspeak.stack.spur/build/mvm | 4 ++-- .../nsnac.cog.spur/build.assert.itimerheartbeat/mvm | 2 +- build.linux64x64/nsnac.cog.spur/build.assert/mvm | 2 +- .../nsnac.cog.spur/build.debug.itimerheartbeat/mvm | 2 +- build.linux64x64/nsnac.cog.spur/build.debug/mvm | 2 +- build.linux64x64/nsnac.cog.spur/build.itimerheartbeat/mvm | 4 ++-- build.linux64x64/nsnac.cog.spur/build/mvm | 4 ++-- .../pharo.cog.spur/build.assert.itimerheartbeat/mvm | 2 +- build.linux64x64/pharo.cog.spur/build.assert/mvm | 2 +- .../pharo.cog.spur/build.debug.itimerheartbeat/mvm | 2 +- build.linux64x64/pharo.cog.spur/build.debug/mvm | 2 +- build.linux64x64/pharo.cog.spur/build.itimerheartbeat/mvm | 4 ++-- build.linux64x64/pharo.cog.spur/build/mvm | 4 ++-- .../squeak.cog.spur.immutability/build.assert/mvm | 2 +- build.linux64x64/squeak.cog.spur.immutability/build.debug/mvm | 2 +- build.linux64x64/squeak.cog.spur.immutability/build/mvm | 4 ++-- .../squeak.cog.spur/build.assert.itimerheartbeat/mvm | 2 +- build.linux64x64/squeak.cog.spur/build.assert/mvm | 2 +- .../squeak.cog.spur/build.debug.itimerheartbeat/mvm | 2 +- build.linux64x64/squeak.cog.spur/build.debug/mvm | 2 +- build.linux64x64/squeak.cog.spur/build.itimerheartbeat/mvm | 4 ++-- build.linux64x64/squeak.cog.spur/build/mvm | 4 ++-- build.linux64x64/squeak.stack.spur/build.assert/mvm | 2 +- build.linux64x64/squeak.stack.spur/build.debug/mvm | 2 +- build.linux64x64/squeak.stack.spur/build/mvm | 2 +- platforms/unix/plugins/SqueakSSL/Makefile.inc | 4 ---- 121 files changed, 151 insertions(+), 155 deletions(-) diff --git a/build.linux32ARMv6/newspeak.cog.spur/build.assert/mvm b/build.linux32ARMv6/newspeak.cog.spur/build.assert/mvm index 4899d4335a..c9fc045491 100755 --- a/build.linux32ARMv6/newspeak.cog.spur/build.assert/mvm +++ b/build.linux32ARMv6/newspeak.cog.spur/build.assert/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak --without-vm-display-fbdev --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DCOGMTVM=0" \ LIBS="-lpthread -luuid -lasound" \ diff --git a/build.linux32ARMv6/newspeak.cog.spur/build.debug/mvm b/build.linux32ARMv6/newspeak.cog.spur/build.debug/mvm index 9df45ffa3c..7bd349a9e6 100755 --- a/build.linux32ARMv6/newspeak.cog.spur/build.debug/mvm +++ b/build.linux32ARMv6/newspeak.cog.spur/build.debug/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak --without-vm-display-fbdev --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DCOGMTVM=0" \ LIBS="-lpthread -luuid -lasound" \ diff --git a/build.linux32ARMv6/newspeak.cog.spur/build/mvm b/build.linux32ARMv6/newspeak.cog.spur/build/mvm index 1f4d86ec66..14de47f3e4 100755 --- a/build.linux32ARMv6/newspeak.cog.spur/build/mvm +++ b/build.linux32ARMv6/newspeak.cog.spur/build/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak --without-vm-display-fbdev --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DCOGMTVM=0" \ LIBS="-lpthread -luuid -lasound" \ diff --git a/build.linux32ARMv6/newspeak.stack.spur/build.assert/mvm b/build.linux32ARMv6/newspeak.stack.spur/build.assert/mvm index db1272b1ce..b3f55d1bd5 100755 --- a/build.linux32ARMv6/newspeak.stack.spur/build.assert/mvm +++ b/build.linux32ARMv6/newspeak.stack.spur/build.assert/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32ARMv6/newspeak.stack.spur/build.debug/mvm b/build.linux32ARMv6/newspeak.stack.spur/build.debug/mvm index e6a677a168..bc0c92b368 100755 --- a/build.linux32ARMv6/newspeak.stack.spur/build.debug/mvm +++ b/build.linux32ARMv6/newspeak.stack.spur/build.debug/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32ARMv6/newspeak.stack.spur/build/mvm b/build.linux32ARMv6/newspeak.stack.spur/build/mvm index 5aa3239f11..8f55b6885d 100755 --- a/build.linux32ARMv6/newspeak.stack.spur/build/mvm +++ b/build.linux32ARMv6/newspeak.stack.spur/build/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32ARMv6/pharo.cog.spur/build.assert/mvm b/build.linux32ARMv6/pharo.cog.spur/build.assert/mvm index 10fd059346..a2c291804d 100755 --- a/build.linux32ARMv6/pharo.cog.spur/build.assert/mvm +++ b/build.linux32ARMv6/pharo.cog.spur/build.assert/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-src=spursrc \ --without-vm-display-fbdev \ --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0" \ LIBS="-lpthread -luuid -lasound -Wl,-rpath,'\$\$ORIGIN'" \ diff --git a/build.linux32ARMv6/pharo.cog.spur/build.debug/mvm b/build.linux32ARMv6/pharo.cog.spur/build.debug/mvm index e42ce9ef9e..efca184b1b 100755 --- a/build.linux32ARMv6/pharo.cog.spur/build.debug/mvm +++ b/build.linux32ARMv6/pharo.cog.spur/build.debug/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-src=spursrc \ --without-vm-display-fbdev \ --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0" \ LIBS="-lpthread -luuid -lasound -Wl,-rpath,'\$\$ORIGIN'" \ diff --git a/build.linux32ARMv6/pharo.cog.spur/build/mvm b/build.linux32ARMv6/pharo.cog.spur/build/mvm index ab697771d2..e83b590eb4 100755 --- a/build.linux32ARMv6/pharo.cog.spur/build/mvm +++ b/build.linux32ARMv6/pharo.cog.spur/build/mvm @@ -40,7 +40,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-src=spursrc \ --without-vm-display-fbdev \ --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0" \ LIBS="-lpthread -luuid -lasound -Wl,-rpath,'\$\$ORIGIN'" \ diff --git a/build.linux32ARMv6/squeak.cog.spur/build.assert/mvm b/build.linux32ARMv6/squeak.cog.spur/build.assert/mvm index 2e6dea4a4b..9f56b65a50 100755 --- a/build.linux32ARMv6/squeak.cog.spur/build.assert/mvm +++ b/build.linux32ARMv6/squeak.cog.spur/build.assert/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak --without-vm-display-fbdev --with-vmversion=5.0 \ --with-src=spursrc \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0" \ LIBS="-lpthread -luuid -lasound" \ diff --git a/build.linux32ARMv6/squeak.cog.spur/build.debug/mvm b/build.linux32ARMv6/squeak.cog.spur/build.debug/mvm index b667751c91..42900e18d4 100755 --- a/build.linux32ARMv6/squeak.cog.spur/build.debug/mvm +++ b/build.linux32ARMv6/squeak.cog.spur/build.debug/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak --without-vm-display-fbdev --with-vmversion=5.0 \ --with-src=spursrc \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0" \ LIBS="-lpthread -luuid -lasound" \ diff --git a/build.linux32ARMv6/squeak.cog.spur/build/mvm b/build.linux32ARMv6/squeak.cog.spur/build/mvm index c3a0a7acdb..0df1f69041 100755 --- a/build.linux32ARMv6/squeak.cog.spur/build/mvm +++ b/build.linux32ARMv6/squeak.cog.spur/build/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak --without-vm-display-fbdev --with-vmversion=5.0 \ --with-src=spursrc \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0" \ LIBS="-lpthread -luuid -lasound" \ diff --git a/build.linux32ARMv6/squeak.stack.spur/build.assert/mvm b/build.linux32ARMv6/squeak.stack.spur/build.assert/mvm index bd3dc55404..e238376e64 100755 --- a/build.linux32ARMv6/squeak.stack.spur/build.assert/mvm +++ b/build.linux32ARMv6/squeak.stack.spur/build.assert/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=spurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32ARMv6/squeak.stack.spur/build.debug/mvm b/build.linux32ARMv6/squeak.stack.spur/build.debug/mvm index 3464b4a015..e5a000a605 100755 --- a/build.linux32ARMv6/squeak.stack.spur/build.debug/mvm +++ b/build.linux32ARMv6/squeak.stack.spur/build.debug/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=spurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32ARMv6/squeak.stack.spur/build/mvm b/build.linux32ARMv6/squeak.stack.spur/build/mvm index 8606564092..58aa886620 100755 --- a/build.linux32ARMv6/squeak.stack.spur/build/mvm +++ b/build.linux32ARMv6/squeak.stack.spur/build/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=spurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32ARMv6/squeak.stack.v3/build.assert/mvm b/build.linux32ARMv6/squeak.stack.v3/build.assert/mvm index 35421f60b5..9cb6d26879 100755 --- a/build.linux32ARMv6/squeak.stack.v3/build.assert/mvm +++ b/build.linux32ARMv6/squeak.stack.v3/build.assert/mvm @@ -18,7 +18,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure \ --with-src=stacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS" \ LIBS="-lpthread -luuid -lasound" \ diff --git a/build.linux32ARMv6/squeak.stack.v3/build.debug/mvm b/build.linux32ARMv6/squeak.stack.v3/build.debug/mvm index 331bee73d1..edc80e1563 100755 --- a/build.linux32ARMv6/squeak.stack.v3/build.debug/mvm +++ b/build.linux32ARMv6/squeak.stack.v3/build.debug/mvm @@ -18,7 +18,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure \ --with-src=stacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS" \ LIBS="-lpthread -luuid -lasound" \ diff --git a/build.linux32ARMv6/squeak.stack.v3/build/mvm b/build.linux32ARMv6/squeak.stack.v3/build/mvm index e4b59d54b3..707521f0e5 100755 --- a/build.linux32ARMv6/squeak.stack.v3/build/mvm +++ b/build.linux32ARMv6/squeak.stack.v3/build/mvm @@ -18,7 +18,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure \ --with-src=stacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak --enable-fast-bitblt \ - CC="gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ + CC="c99 -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS" \ LIBS="-lpthread -luuid -lasound" \ diff --git a/build.linux32ARMv7/newspeak.cog.spur/build.assert/mvm b/build.linux32ARMv7/newspeak.cog.spur/build.assert/mvm index fa0451df8d..86e8cd70f4 100755 --- a/build.linux32ARMv7/newspeak.cog.spur/build.assert/mvm +++ b/build.linux32ARMv7/newspeak.cog.spur/build.assert/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak --without-vm-display-fbdev --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC=gcc \ + CC=c99 \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32ARMv7/newspeak.cog.spur/build.debug/mvm b/build.linux32ARMv7/newspeak.cog.spur/build.debug/mvm index a65297ee57..ca48558e68 100755 --- a/build.linux32ARMv7/newspeak.cog.spur/build.debug/mvm +++ b/build.linux32ARMv7/newspeak.cog.spur/build.debug/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak --without-vm-display-fbdev --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC=gcc \ + CC=c99 \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32ARMv7/newspeak.cog.spur/build/mvm b/build.linux32ARMv7/newspeak.cog.spur/build/mvm index 8a08a08674..a002594cb2 100755 --- a/build.linux32ARMv7/newspeak.cog.spur/build/mvm +++ b/build.linux32ARMv7/newspeak.cog.spur/build/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak --without-vm-display-fbdev --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC=gcc \ + CC=c99 \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32ARMv7/newspeak.stack.spur/build.assert/mvm b/build.linux32ARMv7/newspeak.stack.spur/build.assert/mvm index f388cd44ec..35abd6b1bb 100755 --- a/build.linux32ARMv7/newspeak.stack.spur/build.assert/mvm +++ b/build.linux32ARMv7/newspeak.stack.spur/build.assert/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC=gcc \ + CC=c99 \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32ARMv7/newspeak.stack.spur/build.debug/mvm b/build.linux32ARMv7/newspeak.stack.spur/build.debug/mvm index 76349eaaba..0670678c13 100755 --- a/build.linux32ARMv7/newspeak.stack.spur/build.debug/mvm +++ b/build.linux32ARMv7/newspeak.stack.spur/build.debug/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC=gcc \ + CC=c99 \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32ARMv7/newspeak.stack.spur/build/mvm b/build.linux32ARMv7/newspeak.stack.spur/build/mvm index ef1a98ef5a..6da502056e 100755 --- a/build.linux32ARMv7/newspeak.stack.spur/build/mvm +++ b/build.linux32ARMv7/newspeak.stack.spur/build/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC=gcc \ + CC=c99 \ CXX=g++ \ CFLAGS="$OPT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/newspeak.cog.spur/build.assert.itimerheartbeat/mvm b/build.linux32x86/newspeak.cog.spur/build.assert.itimerheartbeat/mvm index fb03734c4f..72db172657 100755 --- a/build.linux32x86/newspeak.cog.spur/build.assert.itimerheartbeat/mvm +++ b/build.linux32x86/newspeak.cog.spur/build.assert.itimerheartbeat/mvm @@ -29,7 +29,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/newspeak.cog.spur/build.assert/mvm b/build.linux32x86/newspeak.cog.spur/build.assert/mvm index a30ba407ad..af2c40d9d7 100755 --- a/build.linux32x86/newspeak.cog.spur/build.assert/mvm +++ b/build.linux32x86/newspeak.cog.spur/build.assert/mvm @@ -29,7 +29,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/newspeak.cog.spur/build.debug.itimerheartbeat/mvm b/build.linux32x86/newspeak.cog.spur/build.debug.itimerheartbeat/mvm index c01269d593..aa21ffe113 100755 --- a/build.linux32x86/newspeak.cog.spur/build.debug.itimerheartbeat/mvm +++ b/build.linux32x86/newspeak.cog.spur/build.debug.itimerheartbeat/mvm @@ -29,7 +29,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/newspeak.cog.spur/build.debug/mvm b/build.linux32x86/newspeak.cog.spur/build.debug/mvm index a69ab30f96..58f340ed21 100755 --- a/build.linux32x86/newspeak.cog.spur/build.debug/mvm +++ b/build.linux32x86/newspeak.cog.spur/build.debug/mvm @@ -29,7 +29,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/newspeak.cog.spur/build.itimerheartbeat/mvm b/build.linux32x86/newspeak.cog.spur/build.itimerheartbeat/mvm index c2b396f889..d0668d0f22 100755 --- a/build.linux32x86/newspeak.cog.spur/build.itimerheartbeat/mvm +++ b/build.linux32x86/newspeak.cog.spur/build.itimerheartbeat/mvm @@ -9,7 +9,7 @@ esac # Spur VM with VM profiler and itimer heartbeat INSTALLDIR=nscogspurlinux # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -33,7 +33,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/newspeak.cog.spur/build/mvm b/build.linux32x86/newspeak.cog.spur/build/mvm index 0e89b1716f..eef7251c3b 100755 --- a/build.linux32x86/newspeak.cog.spur/build/mvm +++ b/build.linux32x86/newspeak.cog.spur/build/mvm @@ -9,7 +9,7 @@ esac # VM with VM profiler and threaded heartbeat INSTALLDIR=nscogspurlinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -33,7 +33,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/newspeak.stack.spur/build.assert/mvm b/build.linux32x86/newspeak.stack.spur/build.assert/mvm index e2a9ec2044..6c9f5edb69 100755 --- a/build.linux32x86/newspeak.stack.spur/build.assert/mvm +++ b/build.linux32x86/newspeak.stack.spur/build.assert/mvm @@ -29,7 +29,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/newspeak.stack.spur/build.debug/mvm b/build.linux32x86/newspeak.stack.spur/build.debug/mvm index 0cc95f4a5c..e2126cf6ac 100755 --- a/build.linux32x86/newspeak.stack.spur/build.debug/mvm +++ b/build.linux32x86/newspeak.stack.spur/build.debug/mvm @@ -29,7 +29,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/newspeak.stack.spur/build/mvm b/build.linux32x86/newspeak.stack.spur/build/mvm index e71e4f68fb..3078e9ae4f 100755 --- a/build.linux32x86/newspeak.stack.spur/build/mvm +++ b/build.linux32x86/newspeak.stack.spur/build/mvm @@ -9,7 +9,7 @@ esac # Stack Spur VM with VM profiler and threaded heartbeat INSTALLDIR=nsstkspurlinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -33,7 +33,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/nsnac.cog.spur/build.assert.itimerheartbeat/mvm b/build.linux32x86/nsnac.cog.spur/build.assert.itimerheartbeat/mvm index e609d14fc5..24ea080e6d 100755 --- a/build.linux32x86/nsnac.cog.spur/build.assert.itimerheartbeat/mvm +++ b/build.linux32x86/nsnac.cog.spur/build.assert.itimerheartbeat/mvm @@ -29,7 +29,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/nsnac.cog.spur/build.assert/mvm b/build.linux32x86/nsnac.cog.spur/build.assert/mvm index c2ffb0d6ab..3feeed4789 100755 --- a/build.linux32x86/nsnac.cog.spur/build.assert/mvm +++ b/build.linux32x86/nsnac.cog.spur/build.assert/mvm @@ -29,7 +29,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/nsnac.cog.spur/build.debug.itimerheartbeat/mvm b/build.linux32x86/nsnac.cog.spur/build.debug.itimerheartbeat/mvm index e6db331180..b7bac0ca95 100755 --- a/build.linux32x86/nsnac.cog.spur/build.debug.itimerheartbeat/mvm +++ b/build.linux32x86/nsnac.cog.spur/build.debug.itimerheartbeat/mvm @@ -29,7 +29,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/nsnac.cog.spur/build.debug/mvm b/build.linux32x86/nsnac.cog.spur/build.debug/mvm index a778fd0f6e..b687efd0f4 100755 --- a/build.linux32x86/nsnac.cog.spur/build.debug/mvm +++ b/build.linux32x86/nsnac.cog.spur/build.debug/mvm @@ -29,7 +29,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/nsnac.cog.spur/build.itimerheartbeat/mvm b/build.linux32x86/nsnac.cog.spur/build.itimerheartbeat/mvm index ce804e1f05..5d4b1da040 100755 --- a/build.linux32x86/nsnac.cog.spur/build.itimerheartbeat/mvm +++ b/build.linux32x86/nsnac.cog.spur/build.itimerheartbeat/mvm @@ -9,7 +9,7 @@ esac # Spur VM with VM profiler and itimer heartbeat INSTALLDIR=nsnaccogspurlinux # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -33,7 +33,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/nsnac.cog.spur/build/mvm b/build.linux32x86/nsnac.cog.spur/build/mvm index 70cf955c90..b148832a31 100755 --- a/build.linux32x86/nsnac.cog.spur/build/mvm +++ b/build.linux32x86/nsnac.cog.spur/build/mvm @@ -9,7 +9,7 @@ esac # VM with VM profiler and threaded heartbeat INSTALLDIR=nsnaccogspurlinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -33,7 +33,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspursrc \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.cog.spur.lowcode/build.assert.itimerheartbeat/mvm b/build.linux32x86/pharo.cog.spur.lowcode/build.assert.itimerheartbeat/mvm index 887d6d1ef2..5b13c5b9c5 100755 --- a/build.linux32x86/pharo.cog.spur.lowcode/build.assert.itimerheartbeat/mvm +++ b/build.linux32x86/pharo.cog.spur.lowcode/build.assert.itimerheartbeat/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodesrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.cog.spur.lowcode/build.assert/mvm b/build.linux32x86/pharo.cog.spur.lowcode/build.assert/mvm index 901a7e7e1d..8fbee72fc1 100755 --- a/build.linux32x86/pharo.cog.spur.lowcode/build.assert/mvm +++ b/build.linux32x86/pharo.cog.spur.lowcode/build.assert/mvm @@ -27,7 +27,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodesrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.cog.spur.lowcode/build.debug.itimerheartbeat/mvm b/build.linux32x86/pharo.cog.spur.lowcode/build.debug.itimerheartbeat/mvm index 5b54d5fb0f..0a2775e970 100755 --- a/build.linux32x86/pharo.cog.spur.lowcode/build.debug.itimerheartbeat/mvm +++ b/build.linux32x86/pharo.cog.spur.lowcode/build.debug.itimerheartbeat/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodesrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.cog.spur.lowcode/build.debug/mvm b/build.linux32x86/pharo.cog.spur.lowcode/build.debug/mvm index d06e2497bb..10f225034b 100755 --- a/build.linux32x86/pharo.cog.spur.lowcode/build.debug/mvm +++ b/build.linux32x86/pharo.cog.spur.lowcode/build.debug/mvm @@ -27,7 +27,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodesrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.cog.spur.lowcode/build.itimerheartbeat/mvm b/build.linux32x86/pharo.cog.spur.lowcode/build.itimerheartbeat/mvm index 5e1dc954d8..8e43540df1 100755 --- a/build.linux32x86/pharo.cog.spur.lowcode/build.itimerheartbeat/mvm +++ b/build.linux32x86/pharo.cog.spur.lowcode/build.itimerheartbeat/mvm @@ -13,7 +13,7 @@ THIRDPARTYLIBS="libsdl2 libssh2 libgit2" INSTALLDIR=phcoglowcodelinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -42,7 +42,7 @@ done test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodesrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.cog.spur.lowcode/build/mvm b/build.linux32x86/pharo.cog.spur.lowcode/build/mvm index bdcb66eab3..1e3b46ca71 100755 --- a/build.linux32x86/pharo.cog.spur.lowcode/build/mvm +++ b/build.linux32x86/pharo.cog.spur.lowcode/build/mvm @@ -12,7 +12,7 @@ esac # Spur VM with VM profiler and threaded heartbeat INSTALLDIR=phcoglowcodelinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -44,7 +44,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodesrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.cog.spur/build.assert.itimerheartbeat/mvm b/build.linux32x86/pharo.cog.spur/build.assert.itimerheartbeat/mvm index e27ab917c2..e8c17547f7 100755 --- a/build.linux32x86/pharo.cog.spur/build.assert.itimerheartbeat/mvm +++ b/build.linux32x86/pharo.cog.spur/build.assert.itimerheartbeat/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux32x86/pharo.cog.spur/build.assert/mvm b/build.linux32x86/pharo.cog.spur/build.assert/mvm index 9fb92dbfdf..65294007b9 100755 --- a/build.linux32x86/pharo.cog.spur/build.assert/mvm +++ b/build.linux32x86/pharo.cog.spur/build.assert/mvm @@ -27,7 +27,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux32x86/pharo.cog.spur/build.debug.itimerheartbeat/mvm b/build.linux32x86/pharo.cog.spur/build.debug.itimerheartbeat/mvm index 382457c999..3c3bb7aa20 100755 --- a/build.linux32x86/pharo.cog.spur/build.debug.itimerheartbeat/mvm +++ b/build.linux32x86/pharo.cog.spur/build.debug.itimerheartbeat/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux32x86/pharo.cog.spur/build.debug/mvm b/build.linux32x86/pharo.cog.spur/build.debug/mvm index a17107b1f4..df449333a5 100755 --- a/build.linux32x86/pharo.cog.spur/build.debug/mvm +++ b/build.linux32x86/pharo.cog.spur/build.debug/mvm @@ -27,7 +27,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux32x86/pharo.cog.spur/build.itimerheartbeat/mvm b/build.linux32x86/pharo.cog.spur/build.itimerheartbeat/mvm index c090e88d93..18dddb3325 100755 --- a/build.linux32x86/pharo.cog.spur/build.itimerheartbeat/mvm +++ b/build.linux32x86/pharo.cog.spur/build.itimerheartbeat/mvm @@ -13,7 +13,7 @@ THIRDPARTYLIBS="libsdl2 openssl libssh2 libgit2" INSTALLDIR=phcogspurlinux # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -42,7 +42,7 @@ done test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux32x86/pharo.cog.spur/build/mvm b/build.linux32x86/pharo.cog.spur/build/mvm index d825b827a7..44da2a072a 100755 --- a/build.linux32x86/pharo.cog.spur/build/mvm +++ b/build.linux32x86/pharo.cog.spur/build/mvm @@ -12,7 +12,7 @@ esac # Spur VM with VM profiler and threaded heartbeat INSTALLDIR=phcogspurlinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -44,7 +44,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux32x86/pharo.stack.spur.lowcode/build.assert.itimerheartbeat/mvm b/build.linux32x86/pharo.stack.spur.lowcode/build.assert.itimerheartbeat/mvm index 48a16d8ce5..0ccb72b40f 100755 --- a/build.linux32x86/pharo.stack.spur.lowcode/build.assert.itimerheartbeat/mvm +++ b/build.linux32x86/pharo.stack.spur.lowcode/build.assert.itimerheartbeat/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodestacksrc --disable-cogit \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.stack.spur.lowcode/build.assert/mvm b/build.linux32x86/pharo.stack.spur.lowcode/build.assert/mvm index d2f727f204..041464133f 100755 --- a/build.linux32x86/pharo.stack.spur.lowcode/build.assert/mvm +++ b/build.linux32x86/pharo.stack.spur.lowcode/build.assert/mvm @@ -27,7 +27,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodestacksrc --disable-cogit \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.stack.spur.lowcode/build.debug.itimerheartbeat/mvm b/build.linux32x86/pharo.stack.spur.lowcode/build.debug.itimerheartbeat/mvm index 2ea905138e..41bfee2973 100755 --- a/build.linux32x86/pharo.stack.spur.lowcode/build.debug.itimerheartbeat/mvm +++ b/build.linux32x86/pharo.stack.spur.lowcode/build.debug.itimerheartbeat/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodestacksrc --disable-cogit \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.stack.spur.lowcode/build.debug/mvm b/build.linux32x86/pharo.stack.spur.lowcode/build.debug/mvm index bc5d181a7c..0154fa17ec 100755 --- a/build.linux32x86/pharo.stack.spur.lowcode/build.debug/mvm +++ b/build.linux32x86/pharo.stack.spur.lowcode/build.debug/mvm @@ -27,7 +27,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodestacksrc --disable-cogit \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 " \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.stack.spur.lowcode/build.itimerheartbeat/mvm b/build.linux32x86/pharo.stack.spur.lowcode/build.itimerheartbeat/mvm index 591bf4344d..ca478c63b9 100755 --- a/build.linux32x86/pharo.stack.spur.lowcode/build.itimerheartbeat/mvm +++ b/build.linux32x86/pharo.stack.spur.lowcode/build.itimerheartbeat/mvm @@ -13,7 +13,7 @@ THIRDPARTYLIBS="libsdl2 libssh2 libgit2" INSTALLDIR=phstacklowcodelinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -42,7 +42,7 @@ done test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodestacksrc --disable-cogit \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/pharo.stack.spur.lowcode/build/mvm b/build.linux32x86/pharo.stack.spur.lowcode/build/mvm index 7a17049300..96cad4dede 100755 --- a/build.linux32x86/pharo.stack.spur.lowcode/build/mvm +++ b/build.linux32x86/pharo.stack.spur.lowcode/build/mvm @@ -12,7 +12,7 @@ esac # Spur VM with VM profiler and threaded heartbeat INSTALLDIR=phstacklowcodelinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -44,7 +44,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spurlowcodestacksrc --disable-cogit \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.spur.immutability/build.assert/mvm b/build.linux32x86/squeak.cog.spur.immutability/build.assert/mvm index c1fcb78cdb..f8da78201a 100755 --- a/build.linux32x86/squeak.cog.spur.immutability/build.assert/mvm +++ b/build.linux32x86/squeak.cog.spur.immutability/build.assert/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DIMMUTABILITY=1 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.spur.immutability/build.debug/mvm b/build.linux32x86/squeak.cog.spur.immutability/build.debug/mvm index c1f5921bbc..d3a3845dd5 100755 --- a/build.linux32x86/squeak.cog.spur.immutability/build.debug/mvm +++ b/build.linux32x86/squeak.cog.spur.immutability/build.debug/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DIMMUTABILITY=1 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.spur.immutability/build/mvm b/build.linux32x86/squeak.cog.spur.immutability/build/mvm index e7f4f8eb29..1e63ed00a6 100755 --- a/build.linux32x86/squeak.cog.spur.immutability/build/mvm +++ b/build.linux32x86/squeak.cog.spur.immutability/build/mvm @@ -9,7 +9,7 @@ esac # Spur VM with VM profiler and threaded heartbeat INSTALLDIR=sqcogspurlinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -29,7 +29,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DIMMUTABILITY=1 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.spur/build.assert.itimerheartbeat/mvm b/build.linux32x86/squeak.cog.spur/build.assert.itimerheartbeat/mvm index 7b5b0fb9cc..9a46735f55 100755 --- a/build.linux32x86/squeak.cog.spur/build.assert.itimerheartbeat/mvm +++ b/build.linux32x86/squeak.cog.spur/build.assert.itimerheartbeat/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.spur/build.assert/mvm b/build.linux32x86/squeak.cog.spur/build.assert/mvm index adb10f7b41..bc951782ad 100755 --- a/build.linux32x86/squeak.cog.spur/build.assert/mvm +++ b/build.linux32x86/squeak.cog.spur/build.assert/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.spur/build.debug.itimerheartbeat/mvm b/build.linux32x86/squeak.cog.spur/build.debug.itimerheartbeat/mvm index fab672cb12..470305ed08 100755 --- a/build.linux32x86/squeak.cog.spur/build.debug.itimerheartbeat/mvm +++ b/build.linux32x86/squeak.cog.spur/build.debug.itimerheartbeat/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.spur/build.debug/mvm b/build.linux32x86/squeak.cog.spur/build.debug/mvm index e85796555a..17a70cbef7 100755 --- a/build.linux32x86/squeak.cog.spur/build.debug/mvm +++ b/build.linux32x86/squeak.cog.spur/build.debug/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.spur/build.itimerheartbeat/mvm b/build.linux32x86/squeak.cog.spur/build.itimerheartbeat/mvm index 483452c04c..9976d19fd3 100755 --- a/build.linux32x86/squeak.cog.spur/build.itimerheartbeat/mvm +++ b/build.linux32x86/squeak.cog.spur/build.itimerheartbeat/mvm @@ -9,7 +9,7 @@ esac # Spur VM with VM profiler and itimer heartbeat INSTALLDIR=sqcogspurlinux # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -29,7 +29,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.spur/build/mvm b/build.linux32x86/squeak.cog.spur/build/mvm index 6f8d78c0a0..68d8a66e19 100755 --- a/build.linux32x86/squeak.cog.spur/build/mvm +++ b/build.linux32x86/squeak.cog.spur/build/mvm @@ -9,7 +9,7 @@ esac # Spur VM with VM profiler and threaded heartbeat INSTALLDIR=sqcogspurlinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -29,7 +29,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.v3/build.assert.itimerheartbeat/mvm b/build.linux32x86/squeak.cog.v3/build.assert.itimerheartbeat/mvm index 344bdd4bd4..940ddb1199 100755 --- a/build.linux32x86/squeak.cog.v3/build.assert.itimerheartbeat/mvm +++ b/build.linux32x86/squeak.cog.v3/build.assert.itimerheartbeat/mvm @@ -23,7 +23,7 @@ esac test -f plugins.int || (test -f ../plugins.int && cp -p ../plugins.int . || cp -p ../../plugins.int .) test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp -p ../../plugins.ext .) test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.v3/build.assert/mvm b/build.linux32x86/squeak.cog.v3/build.assert/mvm index 09399ba46c..b0898e6f0a 100755 --- a/build.linux32x86/squeak.cog.v3/build.assert/mvm +++ b/build.linux32x86/squeak.cog.v3/build.assert/mvm @@ -23,7 +23,7 @@ esac test -f plugins.int || (test -f ../plugins.int && cp -p ../plugins.int . || cp -p ../../plugins.int .) test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp -p ../../plugins.ext .) test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.v3/build.debug.itimerheartbeat/mvm b/build.linux32x86/squeak.cog.v3/build.debug.itimerheartbeat/mvm index f7838ce608..a239a2071f 100755 --- a/build.linux32x86/squeak.cog.v3/build.debug.itimerheartbeat/mvm +++ b/build.linux32x86/squeak.cog.v3/build.debug.itimerheartbeat/mvm @@ -23,7 +23,7 @@ esac test -f plugins.int || (test -f ../plugins.int && cp -p ../plugins.int . || cp -p ../../plugins.int .) test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp -p ../../plugins.ext .) test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.v3/build.debug/mvm b/build.linux32x86/squeak.cog.v3/build.debug/mvm index 2b54128efa..377c42db4c 100755 --- a/build.linux32x86/squeak.cog.v3/build.debug/mvm +++ b/build.linux32x86/squeak.cog.v3/build.debug/mvm @@ -23,7 +23,7 @@ esac test -f plugins.int || (test -f ../plugins.int && cp -p ../plugins.int . || cp -p ../../plugins.int .) test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp -p ../../plugins.ext .) test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.v3/build.itimerheartbeat/mvm b/build.linux32x86/squeak.cog.v3/build.itimerheartbeat/mvm index dbfe3e62ad..9aa0e651f9 100755 --- a/build.linux32x86/squeak.cog.v3/build.itimerheartbeat/mvm +++ b/build.linux32x86/squeak.cog.v3/build.itimerheartbeat/mvm @@ -9,7 +9,7 @@ esac # VM with VM profiler and itimer heartbeat INSTALLDIR=sqcoglinux # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -27,7 +27,7 @@ esac test -f plugins.int || (test -f ../plugins.int && cp -p ../plugins.int . || cp -p ../../plugins.int .) test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp -p ../../plugins.ext .) test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.v3/build.multithreaded.assert/mvm b/build.linux32x86/squeak.cog.v3/build.multithreaded.assert/mvm index f401b6386a..2942b253c3 100755 --- a/build.linux32x86/squeak.cog.v3/build.multithreaded.assert/mvm +++ b/build.linux32x86/squeak.cog.v3/build.multithreaded.assert/mvm @@ -24,7 +24,7 @@ test -f plugins.int || (test -f ../plugins.int && cp -p ../plugins.int . || cp - test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp -p ../../plugins.ext .) test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ INTERP=cointerpmt \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.v3/build.multithreaded.debug/mvm b/build.linux32x86/squeak.cog.v3/build.multithreaded.debug/mvm index 349a1483f9..8a2fc8d272 100755 --- a/build.linux32x86/squeak.cog.v3/build.multithreaded.debug/mvm +++ b/build.linux32x86/squeak.cog.v3/build.multithreaded.debug/mvm @@ -24,7 +24,7 @@ test -f plugins.int || (test -f ../plugins.int && cp -p ../plugins.int . || cp - test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp -p ../../plugins.ext .) test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ INTERP=cointerpmt \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.v3/build.multithreaded/mvm b/build.linux32x86/squeak.cog.v3/build.multithreaded/mvm index dedee0de6c..b31798e5fc 100755 --- a/build.linux32x86/squeak.cog.v3/build.multithreaded/mvm +++ b/build.linux32x86/squeak.cog.v3/build.multithreaded/mvm @@ -9,7 +9,7 @@ esac # multithreaded VM with VM profiler and threaded heartbeat INSTALLDIR=cogmtlinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -28,7 +28,7 @@ test -f plugins.int || (test -f ../plugins.int && cp -p ../plugins.int . || cp - test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp -p ../../plugins.ext .) test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ INTERP=cointerpmt \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.cog.v3/build/mvm b/build.linux32x86/squeak.cog.v3/build/mvm index 8164198f89..8f41cb92df 100755 --- a/build.linux32x86/squeak.cog.v3/build/mvm +++ b/build.linux32x86/squeak.cog.v3/build/mvm @@ -9,7 +9,7 @@ esac # VM with VM profiler and threaded heartbeat INSTALLDIR=sqcoglinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -27,7 +27,7 @@ esac test -f plugins.int || (test -f ../plugins.int && cp -p ../plugins.int . || cp -p ../../plugins.int .) test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp -p ../../plugins.ext .) test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.sista.spur/build.assert.itimerheartbeat/mvm b/build.linux32x86/squeak.sista.spur/build.assert.itimerheartbeat/mvm index 508d456d53..387dd10bb9 100755 --- a/build.linux32x86/squeak.sista.spur/build.assert.itimerheartbeat/mvm +++ b/build.linux32x86/squeak.sista.spur/build.assert.itimerheartbeat/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursistasrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.sista.spur/build.assert/mvm b/build.linux32x86/squeak.sista.spur/build.assert/mvm index 6460eaa780..3cbc955a50 100755 --- a/build.linux32x86/squeak.sista.spur/build.assert/mvm +++ b/build.linux32x86/squeak.sista.spur/build.assert/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursistasrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.sista.spur/build.debug.itimerheartbeat/mvm b/build.linux32x86/squeak.sista.spur/build.debug.itimerheartbeat/mvm index bbb180e0c0..18880ef541 100755 --- a/build.linux32x86/squeak.sista.spur/build.debug.itimerheartbeat/mvm +++ b/build.linux32x86/squeak.sista.spur/build.debug.itimerheartbeat/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursistasrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.sista.spur/build.debug/mvm b/build.linux32x86/squeak.sista.spur/build.debug/mvm index 39f4579419..c99657cc2b 100755 --- a/build.linux32x86/squeak.sista.spur/build.debug/mvm +++ b/build.linux32x86/squeak.sista.spur/build.debug/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursistasrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.sista.spur/build.itimerheartbeat/mvm b/build.linux32x86/squeak.sista.spur/build.itimerheartbeat/mvm index 525e3f0d1a..fe4e8f8d88 100755 --- a/build.linux32x86/squeak.sista.spur/build.itimerheartbeat/mvm +++ b/build.linux32x86/squeak.sista.spur/build.itimerheartbeat/mvm @@ -9,7 +9,7 @@ esac # Spur VM with VM profiler and itimer heartbeat INSTALLDIR=sqsistaspurlinux # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -29,7 +29,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursistasrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.sista.spur/build/mvm b/build.linux32x86/squeak.sista.spur/build/mvm index 205e7a3fcd..990bcdc6bd 100755 --- a/build.linux32x86/squeak.sista.spur/build/mvm +++ b/build.linux32x86/squeak.sista.spur/build/mvm @@ -9,7 +9,7 @@ esac # Spur VM with VM profiler and threaded heartbeat INSTALLDIR=sqsistaspurlinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -29,7 +29,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spursistasrc \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.stack.spur/build.assert/mvm b/build.linux32x86/squeak.stack.spur/build.assert/mvm index 5b40e3a7e5..acf05be156 100755 --- a/build.linux32x86/squeak.stack.spur/build.assert/mvm +++ b/build.linux32x86/squeak.stack.spur/build.assert/mvm @@ -26,7 +26,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=spurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.stack.spur/build.debug/mvm b/build.linux32x86/squeak.stack.spur/build.debug/mvm index 852ac38228..afaf761e5f 100755 --- a/build.linux32x86/squeak.stack.spur/build.debug/mvm +++ b/build.linux32x86/squeak.stack.spur/build.debug/mvm @@ -26,7 +26,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=spurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.stack.spur/build/mvm b/build.linux32x86/squeak.stack.spur/build/mvm index 88120be82f..a8f2eb3623 100755 --- a/build.linux32x86/squeak.stack.spur/build/mvm +++ b/build.linux32x86/squeak.stack.spur/build/mvm @@ -9,7 +9,7 @@ esac # Stack Spur VM with VM profiler and threaded heartbeat INSTALLDIR=sqstkspurlinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -29,7 +29,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=spurstacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.stack.v3/build.assert/mvm b/build.linux32x86/squeak.stack.v3/build.assert/mvm index 085d842386..4c60528232 100755 --- a/build.linux32x86/squeak.stack.v3/build.assert/mvm +++ b/build.linux32x86/squeak.stack.v3/build.assert/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure \ --with-src=stacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.stack.v3/build.debug/mvm b/build.linux32x86/squeak.stack.v3/build.debug/mvm index 5bfad10806..745b70713f 100755 --- a/build.linux32x86/squeak.stack.v3/build.debug/mvm +++ b/build.linux32x86/squeak.stack.v3/build.debug/mvm @@ -25,7 +25,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure \ --with-src=stacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux32x86/squeak.stack.v3/build/mvm b/build.linux32x86/squeak.stack.v3/build/mvm index 7b3c5fd202..72fde6164a 100755 --- a/build.linux32x86/squeak.stack.v3/build/mvm +++ b/build.linux32x86/squeak.stack.v3/build/mvm @@ -9,7 +9,7 @@ esac # Stack VM with VM profiler and threaded heartbeat INSTALLDIR=sqstklinuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -29,7 +29,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure \ --with-src=stacksrc --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m32" \ + CC="c99 -m32" \ CXX="g++ -m32" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/newspeak.cog.spur/build.assert.itimerheartbeat/mvm b/build.linux64x64/newspeak.cog.spur/build.assert.itimerheartbeat/mvm index 5b4e6040ee..ef1d12a903 100755 --- a/build.linux64x64/newspeak.cog.spur/build.assert.itimerheartbeat/mvm +++ b/build.linux64x64/newspeak.cog.spur/build.assert.itimerheartbeat/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/newspeak.cog.spur/build.assert/mvm b/build.linux64x64/newspeak.cog.spur/build.assert/mvm index d89e1752b9..6a0b54c9bb 100755 --- a/build.linux64x64/newspeak.cog.spur/build.assert/mvm +++ b/build.linux64x64/newspeak.cog.spur/build.assert/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/newspeak.cog.spur/build.debug.itimerheartbeat/mvm b/build.linux64x64/newspeak.cog.spur/build.debug.itimerheartbeat/mvm index 5490c06c15..a546cf7eaa 100755 --- a/build.linux64x64/newspeak.cog.spur/build.debug.itimerheartbeat/mvm +++ b/build.linux64x64/newspeak.cog.spur/build.debug.itimerheartbeat/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/newspeak.cog.spur/build.debug/mvm b/build.linux64x64/newspeak.cog.spur/build.debug/mvm index cf1b5f8db6..5e82b1b030 100755 --- a/build.linux64x64/newspeak.cog.spur/build.debug/mvm +++ b/build.linux64x64/newspeak.cog.spur/build.debug/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/newspeak.cog.spur/build.itimerheartbeat/mvm b/build.linux64x64/newspeak.cog.spur/build.itimerheartbeat/mvm index ffdcf7bf3c..22cd298828 100755 --- a/build.linux64x64/newspeak.cog.spur/build.itimerheartbeat/mvm +++ b/build.linux64x64/newspeak.cog.spur/build.itimerheartbeat/mvm @@ -2,7 +2,7 @@ # Spur VM with VM profiler and itimer heartbeat INSTALLDIR=nscogspur64linux # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -26,7 +26,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/newspeak.cog.spur/build/mvm b/build.linux64x64/newspeak.cog.spur/build/mvm index 1433d4e2b8..617ca48e24 100755 --- a/build.linux64x64/newspeak.cog.spur/build/mvm +++ b/build.linux64x64/newspeak.cog.spur/build/mvm @@ -2,7 +2,7 @@ # VM with VM profiler and threaded heartbeat INSTALLDIR=nscogspur64linuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -26,7 +26,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/newspeak.stack.spur/build.assert/mvm b/build.linux64x64/newspeak.stack.spur/build.assert/mvm index 2dfd12aa15..e169368b5c 100755 --- a/build.linux64x64/newspeak.stack.spur/build.assert/mvm +++ b/build.linux64x64/newspeak.stack.spur/build.assert/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstack64src --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/newspeak.stack.spur/build.debug/mvm b/build.linux64x64/newspeak.stack.spur/build.debug/mvm index 137f85171f..361f6cc053 100755 --- a/build.linux64x64/newspeak.stack.spur/build.debug/mvm +++ b/build.linux64x64/newspeak.stack.spur/build.debug/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstack64src --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/newspeak.stack.spur/build/mvm b/build.linux64x64/newspeak.stack.spur/build/mvm index a4cc77c776..325d83695a 100755 --- a/build.linux64x64/newspeak.stack.spur/build/mvm +++ b/build.linux64x64/newspeak.stack.spur/build/mvm @@ -2,7 +2,7 @@ # Stack Spur VM with VM profiler and threaded heartbeat INSTALLDIR=nsstkspur64linuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -26,7 +26,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspurstack64src --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/nsnac.cog.spur/build.assert.itimerheartbeat/mvm b/build.linux64x64/nsnac.cog.spur/build.assert.itimerheartbeat/mvm index c6fcd6a665..9ba4c4586f 100755 --- a/build.linux64x64/nsnac.cog.spur/build.assert.itimerheartbeat/mvm +++ b/build.linux64x64/nsnac.cog.spur/build.assert.itimerheartbeat/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/nsnac.cog.spur/build.assert/mvm b/build.linux64x64/nsnac.cog.spur/build.assert/mvm index 693c245417..65838688ae 100755 --- a/build.linux64x64/nsnac.cog.spur/build.assert/mvm +++ b/build.linux64x64/nsnac.cog.spur/build.assert/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/nsnac.cog.spur/build.debug.itimerheartbeat/mvm b/build.linux64x64/nsnac.cog.spur/build.debug.itimerheartbeat/mvm index 9edb649640..2551e0f60a 100755 --- a/build.linux64x64/nsnac.cog.spur/build.debug.itimerheartbeat/mvm +++ b/build.linux64x64/nsnac.cog.spur/build.debug.itimerheartbeat/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/nsnac.cog.spur/build.debug/mvm b/build.linux64x64/nsnac.cog.spur/build.debug/mvm index 6d2110adc7..2c49aee9c8 100755 --- a/build.linux64x64/nsnac.cog.spur/build.debug/mvm +++ b/build.linux64x64/nsnac.cog.spur/build.debug/mvm @@ -22,7 +22,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/nsnac.cog.spur/build.itimerheartbeat/mvm b/build.linux64x64/nsnac.cog.spur/build.itimerheartbeat/mvm index 0b2d018320..cac30f2e48 100755 --- a/build.linux64x64/nsnac.cog.spur/build.itimerheartbeat/mvm +++ b/build.linux64x64/nsnac.cog.spur/build.itimerheartbeat/mvm @@ -2,7 +2,7 @@ # Spur VM with VM profiler and itimer heartbeat INSTALLDIR=nsnaccogspur64linux # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -26,7 +26,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/nsnac.cog.spur/build/mvm b/build.linux64x64/nsnac.cog.spur/build/mvm index 1a69afa047..ca6552fabd 100755 --- a/build.linux64x64/nsnac.cog.spur/build/mvm +++ b/build.linux64x64/nsnac.cog.spur/build/mvm @@ -2,7 +2,7 @@ # VM with VM profiler and threaded heartbeat INSTALLDIR=nsnaccogspur64linuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -26,7 +26,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=nsspur64src \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -DEnforceAccessControl=0 -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/pharo.cog.spur/build.assert.itimerheartbeat/mvm b/build.linux64x64/pharo.cog.spur/build.assert.itimerheartbeat/mvm index ee5fa4ec37..4ef84624eb 100755 --- a/build.linux64x64/pharo.cog.spur/build.assert.itimerheartbeat/mvm +++ b/build.linux64x64/pharo.cog.spur/build.assert.itimerheartbeat/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux64x64/pharo.cog.spur/build.assert/mvm b/build.linux64x64/pharo.cog.spur/build.assert/mvm index 275d30281b..8f4e4bcc37 100755 --- a/build.linux64x64/pharo.cog.spur/build.assert/mvm +++ b/build.linux64x64/pharo.cog.spur/build.assert/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DCOGMTVM=0" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux64x64/pharo.cog.spur/build.debug.itimerheartbeat/mvm b/build.linux64x64/pharo.cog.spur/build.debug.itimerheartbeat/mvm index 541a128949..990533c68e 100755 --- a/build.linux64x64/pharo.cog.spur/build.debug.itimerheartbeat/mvm +++ b/build.linux64x64/pharo.cog.spur/build.debug.itimerheartbeat/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux64x64/pharo.cog.spur/build.debug/mvm b/build.linux64x64/pharo.cog.spur/build.debug/mvm index 3b1f12771a..b803da2e73 100755 --- a/build.linux64x64/pharo.cog.spur/build.debug/mvm +++ b/build.linux64x64/pharo.cog.spur/build.debug/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DCOGMTVM=0" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux64x64/pharo.cog.spur/build.itimerheartbeat/mvm b/build.linux64x64/pharo.cog.spur/build.itimerheartbeat/mvm index 37e11e231d..8f35345517 100755 --- a/build.linux64x64/pharo.cog.spur/build.itimerheartbeat/mvm +++ b/build.linux64x64/pharo.cog.spur/build.itimerheartbeat/mvm @@ -3,7 +3,7 @@ THIRDPARTYLIBS="libsdl2 openssl libssh2 libgit2" INSTALLDIR=cogspur64linux # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -33,7 +33,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux64x64/pharo.cog.spur/build/mvm b/build.linux64x64/pharo.cog.spur/build/mvm index cbd8bf9313..6b527b650e 100755 --- a/build.linux64x64/pharo.cog.spur/build/mvm +++ b/build.linux64x64/pharo.cog.spur/build/mvm @@ -4,7 +4,7 @@ THIRDPARTYLIBS="libsdl2 openssl libssh2 libgit2" INSTALLDIR=cogspur64linuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -34,7 +34,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DCOGMTVM=0" \ LIBS="-lpthread -luuid -Wl,-rpath,'\$\$ORIGIN' " \ diff --git a/build.linux64x64/squeak.cog.spur.immutability/build.assert/mvm b/build.linux64x64/squeak.cog.spur.immutability/build.assert/mvm index f499add7eb..9857980c97 100755 --- a/build.linux64x64/squeak.cog.spur.immutability/build.assert/mvm +++ b/build.linux64x64/squeak.cog.spur.immutability/build.assert/mvm @@ -18,7 +18,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DIMMUTABLITY=1 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/squeak.cog.spur.immutability/build.debug/mvm b/build.linux64x64/squeak.cog.spur.immutability/build.debug/mvm index cb19478f33..abda764e2e 100755 --- a/build.linux64x64/squeak.cog.spur.immutability/build.debug/mvm +++ b/build.linux64x64/squeak.cog.spur.immutability/build.debug/mvm @@ -18,7 +18,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DIMMUTABLITY=1 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/squeak.cog.spur.immutability/build/mvm b/build.linux64x64/squeak.cog.spur.immutability/build/mvm index 60d5ba2113..b0b3a78820 100755 --- a/build.linux64x64/squeak.cog.spur.immutability/build/mvm +++ b/build.linux64x64/squeak.cog.spur.immutability/build/mvm @@ -2,7 +2,7 @@ # Spur VM with VM profiler and threaded heartbeat INSTALLDIR=sqcogspur64linuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -22,7 +22,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DIMMUTABLITY=1 -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/squeak.cog.spur/build.assert.itimerheartbeat/mvm b/build.linux64x64/squeak.cog.spur/build.assert.itimerheartbeat/mvm index 12f6ecb592..62beb3d512 100755 --- a/build.linux64x64/squeak.cog.spur/build.assert.itimerheartbeat/mvm +++ b/build.linux64x64/squeak.cog.spur/build.assert.itimerheartbeat/mvm @@ -18,7 +18,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/squeak.cog.spur/build.assert/mvm b/build.linux64x64/squeak.cog.spur/build.assert/mvm index 5e25e7bbb7..6e4de0829e 100755 --- a/build.linux64x64/squeak.cog.spur/build.assert/mvm +++ b/build.linux64x64/squeak.cog.spur/build.assert/mvm @@ -18,7 +18,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/squeak.cog.spur/build.debug.itimerheartbeat/mvm b/build.linux64x64/squeak.cog.spur/build.debug.itimerheartbeat/mvm index fc85f1a06b..4e50415d16 100755 --- a/build.linux64x64/squeak.cog.spur/build.debug.itimerheartbeat/mvm +++ b/build.linux64x64/squeak.cog.spur/build.debug.itimerheartbeat/mvm @@ -18,7 +18,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/squeak.cog.spur/build.debug/mvm b/build.linux64x64/squeak.cog.spur/build.debug/mvm index 5940857fb9..e77947c601 100755 --- a/build.linux64x64/squeak.cog.spur/build.debug/mvm +++ b/build.linux64x64/squeak.cog.spur/build.debug/mvm @@ -18,7 +18,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DCOGMTVM=0" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/squeak.cog.spur/build.itimerheartbeat/mvm b/build.linux64x64/squeak.cog.spur/build.itimerheartbeat/mvm index 257347d7c6..5b0e1632de 100755 --- a/build.linux64x64/squeak.cog.spur/build.itimerheartbeat/mvm +++ b/build.linux64x64/squeak.cog.spur/build.itimerheartbeat/mvm @@ -2,7 +2,7 @@ # Spur VM with VM profiler and itimer heartbeat INSTALLDIR=sqcogspur64linux # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -22,7 +22,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE -DCOGMTVM=0 -DITIMER_HEARTBEAT=1" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/squeak.cog.spur/build/mvm b/build.linux64x64/squeak.cog.spur/build/mvm index b6e9ad22f9..09352ad401 100755 --- a/build.linux64x64/squeak.cog.spur/build/mvm +++ b/build.linux64x64/squeak.cog.spur/build/mvm @@ -2,7 +2,7 @@ # Spur VM with VM profiler and threaded heartbeat INSTALLDIR=sqcogspur64linuxht # Some gcc versions create a broken VM using -O2 -case $(gcc -dumpversion) in +case $(c99 -dumpversion) in 3.4.*) OPT="-g -O1 -fwrapv -DNDEBUG -DDEBUGVM=0";; *) OPT="-g -O2 -DNDEBUG -DDEBUGVM=0";; esac @@ -33,7 +33,7 @@ test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp - test -f config.h || ../../../platforms/unix/config/configure --without-npsqueak \ --with-vmversion=5.0 \ --with-src=spur64src \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$CFLAGS" \ LIBS="$LIBS" \ diff --git a/build.linux64x64/squeak.stack.spur/build.assert/mvm b/build.linux64x64/squeak.stack.spur/build.assert/mvm index 71eaff3d71..588bbc29c7 100755 --- a/build.linux64x64/squeak.stack.spur/build.assert/mvm +++ b/build.linux64x64/squeak.stack.spur/build.assert/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=spurstack64src --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/squeak.stack.spur/build.debug/mvm b/build.linux64x64/squeak.stack.spur/build.debug/mvm index a6f8a5c971..110ad4c449 100755 --- a/build.linux64x64/squeak.stack.spur/build.debug/mvm +++ b/build.linux64x64/squeak.stack.spur/build.debug/mvm @@ -19,7 +19,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=spurstack64src --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/build.linux64x64/squeak.stack.spur/build/mvm b/build.linux64x64/squeak.stack.spur/build/mvm index d0b0da52e6..5239137279 100755 --- a/build.linux64x64/squeak.stack.spur/build/mvm +++ b/build.linux64x64/squeak.stack.spur/build/mvm @@ -18,7 +18,7 @@ test -f config.h || ../../../platforms/unix/config/configure \ --with-vmversion=5.0 \ --with-src=spurstack64src --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ - CC="gcc -m64" \ + CC="c99 -m64" \ CXX="g++ -m64" \ CFLAGS="$OPT -msse2 -D_GNU_SOURCE" \ LIBS="-lpthread -luuid" \ diff --git a/platforms/unix/plugins/SqueakSSL/Makefile.inc b/platforms/unix/plugins/SqueakSSL/Makefile.inc index 1251805daf..7be74caec2 100644 --- a/platforms/unix/plugins/SqueakSSL/Makefile.inc +++ b/platforms/unix/plugins/SqueakSSL/Makefile.inc @@ -1,8 +1,4 @@ # -# C99 can drive a car by now. -XCFLAGS= -std=c99 -# -# XLDFLAGS= -ldl # # For platform builds, use From 3e2d4b53e966f253342f6a8bc9b4c39f9ebb2d05 Mon Sep 17 00:00:00 2001 From: Tobias Pape Date: Fri, 23 Feb 2018 20:00:58 +0100 Subject: [PATCH 2/8] Make the gcc/clang asm keyword available, even when running in standard C mode. --- platforms/unix/vm/sqConfig.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platforms/unix/vm/sqConfig.h b/platforms/unix/vm/sqConfig.h index fe0ee090e1..4c86bc3dce 100644 --- a/platforms/unix/vm/sqConfig.h +++ b/platforms/unix/vm/sqConfig.h @@ -33,3 +33,8 @@ #if defined( __clang__) # define NeverInline __attribute__ ((noinline)) #endif + +/* Make the gcc/clang asm keyword available, even when running + * in standard C mode. + */ +#define asm __asm__ \ No newline at end of file From a2d2b7a63e8f97a82f880f60c760230ce8bd53e9 Mon Sep 17 00:00:00 2001 From: Tobias Pape Date: Fri, 23 Feb 2018 20:53:34 +0100 Subject: [PATCH 3/8] gcc: asm is a keyword not a function. side effect is: when you redefine the keyword, it does not match for the "function form" --- platforms/Cross/plugins/IA32ABI/ppc32abicc.c | 4 +- .../Cross/plugins/IA32ABI/x64sysvabicc.c | 2 +- .../Mpeg3Plugin/libmpeg/video/output.c | 8 ++-- platforms/Mac OS/vm/Developer/sqGnu.h | 46 +++++++++---------- platforms/Mac OS/vm/sqPlatformSpecific.h | 2 +- platforms/iOS/vm/OSX/sqPlatformSpecific.h | 2 +- platforms/unix/vm/sqConfig.h | 2 +- .../win32/plugins/SqueakFFIPrims/sqWin32FFI.c | 2 +- platforms/win32/vm/sqGnu.h | 44 +++++++++--------- platforms/win32/vm/sqPlatformSpecific.h | 2 +- platforms/win32/vm/sqWin32Window.c | 4 +- 11 files changed, 59 insertions(+), 59 deletions(-) diff --git a/platforms/Cross/plugins/IA32ABI/ppc32abicc.c b/platforms/Cross/plugins/IA32ABI/ppc32abicc.c index a08cc7472c..fcfb86207d 100644 --- a/platforms/Cross/plugins/IA32ABI/ppc32abicc.c +++ b/platforms/Cross/plugins/IA32ABI/ppc32abicc.c @@ -245,7 +245,7 @@ thunkEntry(void *thunkp, sqIntptr_t *stackp) _asm mov edx, dword ptr vhigh; #elif __GNUC__ #warning ASSEMBLER -//asm("mov %0,%%edx" : : "m"(vhigh)); +//asm ("mov %0,%%edx" : : "m"(vhigh)); #else # error need to load edx with rs->rvs.valint64.high on this compiler #endif @@ -258,7 +258,7 @@ thunkEntry(void *thunkp, sqIntptr_t *stackp) _asm fld qword ptr valflt64; #elif __GNUC__ #warning ASSEMBLER -// asm("fldl %0" : : "m"(valflt64)); +// asm ("fldl %0" : : "m"(valflt64)); #else # error need to load %f0 with rs->rvs.valflt64 on this compiler #endif diff --git a/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c b/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c index 346a10652a..5f20c781cf 100644 --- a/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c +++ b/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c @@ -225,7 +225,7 @@ thunkEntry(long a0, long a1, long a2, long a3, long a4, long a5, #if _MSC_VER _asm mov qword ptr valflt64, xmm0; #elif __GNUC__ - asm("movq %0, %%xmm0" : : "m"(valflt64)); + asm ("movq %0, %%xmm0" : : "m"(valflt64)); #else # error need to load %xmm0 with vmcc.rvs.valflt64 on this compiler #endif diff --git a/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/output.c b/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/output.c index 4cda6ea2e2..4c73688cad 100755 --- a/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/output.c +++ b/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/output.c @@ -264,7 +264,7 @@ inline void mpeg3_bgra32_mmx(unsigned long y, unsigned long v, unsigned long *output) { - asm( + asm ( "\n" "/* Output will be 0x00rrggbb with the 00 trailing so this can also be used */\n" "/* for bgr24. */\n" @@ -307,7 +307,7 @@ inline void mpeg3_601_bgra32_mmx(unsigned long y, unsigned long v, unsigned long *output) { -asm("\n" +asm ("\n" "/* Output will be 0x00rrggbb with the 00 trailing so this can also be used */\n" "/* for bgr24. */\n" " movd (%0), %%mm0; /* Load y 0x00000000000000yy */\n" @@ -355,7 +355,7 @@ inline void mpeg3_rgba32_mmx(unsigned long y, unsigned long v, unsigned long *output) { -asm("\n" +asm ("\n" "/* Output will be 0x00bbggrr with the 00 trailing so this can also be used */\n" "/* for rgb24. */\n" " movd (%0), %%mm0; /* Load y 0x00000000000000yy */\n" @@ -397,7 +397,7 @@ inline void mpeg3_601_rgba32_mmx(unsigned long y, unsigned long v, unsigned long *output) { -asm("\n" +asm ("\n" "/* Output will be 0x00bbggrr with the 00 trailing so this can also be used */\n" "/* for rgb24. */\n" " movd (%0), %%mm0; /* Load y 0x00000000000000yy */\n" diff --git a/platforms/Mac OS/vm/Developer/sqGnu.h b/platforms/Mac OS/vm/Developer/sqGnu.h index 96e3c063bf..0126bb623e 100644 --- a/platforms/Mac OS/vm/Developer/sqGnu.h +++ b/platforms/Mac OS/vm/Developer/sqGnu.h @@ -151,35 +151,35 @@ #if defined(__clang__) /* clang can't compile specific register assignments */ #elif defined(__mips__) -# define IP_REG asm("$16") -# define SP_REG asm("$17") -# define CB_REG asm("$18") +# define IP_REG asm ("$16") +# define SP_REG asm ("$17") +# define CB_REG asm ("$18") #elif defined(__sparc__) -# define IP_REG asm("%l0") -# define SP_REG asm("%l1") -# define CB_REG asm("%l2") +# define IP_REG asm ("%l0") +# define SP_REG asm ("%l1") +# define CB_REG asm ("%l2") #elif defined(__alpha__) -# define IP_REG asm("$9") -# define SP_REG asm("$10") -# define CB_REG asm("$11") +# define IP_REG asm ("$9") +# define SP_REG asm ("$10") +# define CB_REG asm ("$11") #elif defined(__i386__) -# define IP_REG asm("%esi") -# define SP_REG asm("%edi") -# define CB_REG asm("%ebx") +# define IP_REG asm ("%esi") +# define SP_REG asm ("%edi") +# define CB_REG asm ("%ebx") #elif defined(__powerpc__) || defined(PPC) || defined(_POWER) || defined(_IBMR2) || defined(__ppc__) -# define FOO_REG asm("13") -# define JP_REG asm("14") -# define IP_REG asm("15") -# define SP_REG asm("16") -# define CB_REG asm("17") +# define FOO_REG asm ("13") +# define JP_REG asm ("14") +# define IP_REG asm ("15") +# define SP_REG asm ("16") +# define CB_REG asm ("17") #elif defined(__hppa__) -# define IP_REG asm("%r18") -# define SP_REG asm("%r17") -# define CB_REG asm("%r16") +# define IP_REG asm ("%r18") +# define SP_REG asm ("%r17") +# define CB_REG asm ("%r16") #elif defined(__mc68000__) -# define IP_REG asm("a5") -# define SP_REG asm("a4") -# define CB_REG asm("d7") +# define IP_REG asm ("a5") +# define SP_REG asm ("a4") +# define CB_REG asm ("d7") #endif #if !defined(CB_REG) diff --git a/platforms/Mac OS/vm/sqPlatformSpecific.h b/platforms/Mac OS/vm/sqPlatformSpecific.h index 9059cacc7b..17524eca10 100644 --- a/platforms/Mac OS/vm/sqPlatformSpecific.h +++ b/platforms/Mac OS/vm/sqPlatformSpecific.h @@ -207,7 +207,7 @@ extern const pthread_key_t tltiIndex; # undef EXPORT # define EXPORT(returnType) __attribute__((visibility("default"))) returnType # if !defined(VM_LABEL) -# define VM_LABEL(foo) asm("\n.globl L" #foo "\nL" #foo ":") +# define VM_LABEL(foo) asm ("\n.globl L" #foo "\nL" #foo ":") # endif #endif diff --git a/platforms/iOS/vm/OSX/sqPlatformSpecific.h b/platforms/iOS/vm/OSX/sqPlatformSpecific.h index d47f06a9a2..a557a42a60 100644 --- a/platforms/iOS/vm/OSX/sqPlatformSpecific.h +++ b/platforms/iOS/vm/OSX/sqPlatformSpecific.h @@ -175,7 +175,7 @@ extern const pthread_key_t tltiIndex; # undef EXPORT # define EXPORT(returnType) __attribute__((visibility("default"))) returnType # if !defined(VM_LABEL) -# define VM_LABEL(foo) asm("\n.globl L" #foo "\nL" #foo ":") +# define VM_LABEL(foo) asm ("\n.globl L" #foo "\nL" #foo ":") # endif #endif diff --git a/platforms/unix/vm/sqConfig.h b/platforms/unix/vm/sqConfig.h index 4c86bc3dce..c7301f0fc3 100644 --- a/platforms/unix/vm/sqConfig.h +++ b/platforms/unix/vm/sqConfig.h @@ -37,4 +37,4 @@ /* Make the gcc/clang asm keyword available, even when running * in standard C mode. */ -#define asm __asm__ \ No newline at end of file +#define asm __asm__ diff --git a/platforms/win32/plugins/SqueakFFIPrims/sqWin32FFI.c b/platforms/win32/plugins/SqueakFFIPrims/sqWin32FFI.c index 039b90b013..7651d17915 100644 --- a/platforms/win32/plugins/SqueakFFIPrims/sqWin32FFI.c +++ b/platforms/win32/plugins/SqueakFFIPrims/sqWin32FFI.c @@ -320,7 +320,7 @@ int ffiCallAddress(int fn) } #endif #ifdef __GNUC__ - asm( + asm ( "movl %%ebp, _oldBP\n\t" "movl %%esp, _oldSP\n\t" "pushl %%ebx\n\t" diff --git a/platforms/win32/vm/sqGnu.h b/platforms/win32/vm/sqGnu.h index 53f973efbe..945bac3a64 100644 --- a/platforms/win32/vm/sqGnu.h +++ b/platforms/win32/vm/sqGnu.h @@ -116,34 +116,34 @@ especially Intel. */ #if defined(__mips__) -# define IP_REG asm("$16") -# define SP_REG asm("$17") -# define CB_REG asm("$18") +# define IP_REG asm ("$16") +# define SP_REG asm ("$17") +# define CB_REG asm ("$18") #elif defined(__sparc__) -# define IP_REG asm("%l0") -# define SP_REG asm("%l1") -# define CB_REG asm("%l2") +# define IP_REG asm ("%l0") +# define SP_REG asm ("%l1") +# define CB_REG asm ("%l2") #elif defined(__alpha__) -# define IP_REG asm("$9") -# define SP_REG asm("$10") -# define CB_REG asm("$11") +# define IP_REG asm ("$9") +# define SP_REG asm ("$10") +# define CB_REG asm ("$11") #elif defined(__i386__) -# define IP_REG asm("%esi") -# define SP_REG asm("%edi") -# define CB_REG asm("%ebx") -//# define JP_REG asm("%ebx") +# define IP_REG asm ("%esi") +# define SP_REG asm ("%edi") +# define CB_REG asm ("%ebx") +//# define JP_REG asm ("%ebx") #elif defined(PPC) || defined(_POWER) || defined(_IBMR2) -# define IP_REG asm("26") -# define SP_REG asm("27") -# define CB_REG asm("28") +# define IP_REG asm ("26") +# define SP_REG asm ("27") +# define CB_REG asm ("28") #elif defined(__hppa__) -# define IP_REG asm("%r18") -# define SP_REG asm("%r17") -# define CB_REG asm("%r16") +# define IP_REG asm ("%r18") +# define SP_REG asm ("%r17") +# define CB_REG asm ("%r16") #elif defined(__mc68000__) -# define IP_REG asm("a5") -# define SP_REG asm("a4") -# define CB_REG asm("d7") +# define IP_REG asm ("a5") +# define SP_REG asm ("a4") +# define CB_REG asm ("d7") #endif #if !defined(CB_REG) diff --git a/platforms/win32/vm/sqPlatformSpecific.h b/platforms/win32/vm/sqPlatformSpecific.h index feb3fb0102..b7bf044832 100644 --- a/platforms/win32/vm/sqPlatformSpecific.h +++ b/platforms/win32/vm/sqPlatformSpecific.h @@ -149,7 +149,7 @@ extern const unsigned long tltiIndex; #if defined(__GNUC__) # if !defined(VM_LABEL) -# define VM_LABEL(foo) asm("\n.globl L" #foo "\nL" #foo ":") +# define VM_LABEL(foo) asm ("\n.globl L" #foo "\nL" #foo ":") # endif #endif #if !defined(VM_LABEL) || COGVM diff --git a/platforms/win32/vm/sqWin32Window.c b/platforms/win32/vm/sqWin32Window.c index 72f2687f6f..d96f33d1a4 100644 --- a/platforms/win32/vm/sqWin32Window.c +++ b/platforms/win32/vm/sqWin32Window.c @@ -1950,8 +1950,8 @@ sqInt ioSetFullScreen(sqInt fullScreen) { /* GCC generates *optimal* code with a little help */ # define BYTE_SWAP(w) __asm__("bswap %0" : "+r" (w)) # define WORD_SWAP(w) __asm__("roll $16, %0" : "+r" (w)) -# define SRC_PIX_REG asm("%esi") -# define DST_PIX_REG asm("%edi") +# define SRC_PIX_REG asm ("%esi") +# define DST_PIX_REG asm ("%edi") # else /* Not GCC?! Well, it's your own fault ;-) */ # define BYTE_SWAP(w) w = (w<<24) | ((w&0xFF00)<<8) | ((w>>8)&0xFF00) | (w>>24) # define WORD_SWAP(w) w = (( (unsigned)(w) << 16) | ((unsigned) (w) >> 16)) From e2c2962f5ef8dcd6bbd2178b64dab8d0b801114e Mon Sep 17 00:00:00 2001 From: Tobias Pape Date: Fri, 23 Feb 2018 20:59:55 +0100 Subject: [PATCH 4/8] Revert "gcc: asm is a keyword not a function." This reverts commit a2d2b7a63e8f97a82f880f60c760230ce8bd53e9. Boy, this was wrong --- platforms/Cross/plugins/IA32ABI/ppc32abicc.c | 4 +- .../Cross/plugins/IA32ABI/x64sysvabicc.c | 2 +- .../Mpeg3Plugin/libmpeg/video/output.c | 8 ++-- platforms/Mac OS/vm/Developer/sqGnu.h | 46 +++++++++---------- platforms/Mac OS/vm/sqPlatformSpecific.h | 2 +- platforms/iOS/vm/OSX/sqPlatformSpecific.h | 2 +- platforms/unix/vm/sqConfig.h | 2 +- .../win32/plugins/SqueakFFIPrims/sqWin32FFI.c | 2 +- platforms/win32/vm/sqGnu.h | 44 +++++++++--------- platforms/win32/vm/sqPlatformSpecific.h | 2 +- platforms/win32/vm/sqWin32Window.c | 4 +- 11 files changed, 59 insertions(+), 59 deletions(-) diff --git a/platforms/Cross/plugins/IA32ABI/ppc32abicc.c b/platforms/Cross/plugins/IA32ABI/ppc32abicc.c index fcfb86207d..a08cc7472c 100644 --- a/platforms/Cross/plugins/IA32ABI/ppc32abicc.c +++ b/platforms/Cross/plugins/IA32ABI/ppc32abicc.c @@ -245,7 +245,7 @@ thunkEntry(void *thunkp, sqIntptr_t *stackp) _asm mov edx, dword ptr vhigh; #elif __GNUC__ #warning ASSEMBLER -//asm ("mov %0,%%edx" : : "m"(vhigh)); +//asm("mov %0,%%edx" : : "m"(vhigh)); #else # error need to load edx with rs->rvs.valint64.high on this compiler #endif @@ -258,7 +258,7 @@ thunkEntry(void *thunkp, sqIntptr_t *stackp) _asm fld qword ptr valflt64; #elif __GNUC__ #warning ASSEMBLER -// asm ("fldl %0" : : "m"(valflt64)); +// asm("fldl %0" : : "m"(valflt64)); #else # error need to load %f0 with rs->rvs.valflt64 on this compiler #endif diff --git a/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c b/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c index 5f20c781cf..346a10652a 100644 --- a/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c +++ b/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c @@ -225,7 +225,7 @@ thunkEntry(long a0, long a1, long a2, long a3, long a4, long a5, #if _MSC_VER _asm mov qword ptr valflt64, xmm0; #elif __GNUC__ - asm ("movq %0, %%xmm0" : : "m"(valflt64)); + asm("movq %0, %%xmm0" : : "m"(valflt64)); #else # error need to load %xmm0 with vmcc.rvs.valflt64 on this compiler #endif diff --git a/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/output.c b/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/output.c index 4c73688cad..4cda6ea2e2 100755 --- a/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/output.c +++ b/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/output.c @@ -264,7 +264,7 @@ inline void mpeg3_bgra32_mmx(unsigned long y, unsigned long v, unsigned long *output) { - asm ( + asm( "\n" "/* Output will be 0x00rrggbb with the 00 trailing so this can also be used */\n" "/* for bgr24. */\n" @@ -307,7 +307,7 @@ inline void mpeg3_601_bgra32_mmx(unsigned long y, unsigned long v, unsigned long *output) { -asm ("\n" +asm("\n" "/* Output will be 0x00rrggbb with the 00 trailing so this can also be used */\n" "/* for bgr24. */\n" " movd (%0), %%mm0; /* Load y 0x00000000000000yy */\n" @@ -355,7 +355,7 @@ inline void mpeg3_rgba32_mmx(unsigned long y, unsigned long v, unsigned long *output) { -asm ("\n" +asm("\n" "/* Output will be 0x00bbggrr with the 00 trailing so this can also be used */\n" "/* for rgb24. */\n" " movd (%0), %%mm0; /* Load y 0x00000000000000yy */\n" @@ -397,7 +397,7 @@ inline void mpeg3_601_rgba32_mmx(unsigned long y, unsigned long v, unsigned long *output) { -asm ("\n" +asm("\n" "/* Output will be 0x00bbggrr with the 00 trailing so this can also be used */\n" "/* for rgb24. */\n" " movd (%0), %%mm0; /* Load y 0x00000000000000yy */\n" diff --git a/platforms/Mac OS/vm/Developer/sqGnu.h b/platforms/Mac OS/vm/Developer/sqGnu.h index 0126bb623e..96e3c063bf 100644 --- a/platforms/Mac OS/vm/Developer/sqGnu.h +++ b/platforms/Mac OS/vm/Developer/sqGnu.h @@ -151,35 +151,35 @@ #if defined(__clang__) /* clang can't compile specific register assignments */ #elif defined(__mips__) -# define IP_REG asm ("$16") -# define SP_REG asm ("$17") -# define CB_REG asm ("$18") +# define IP_REG asm("$16") +# define SP_REG asm("$17") +# define CB_REG asm("$18") #elif defined(__sparc__) -# define IP_REG asm ("%l0") -# define SP_REG asm ("%l1") -# define CB_REG asm ("%l2") +# define IP_REG asm("%l0") +# define SP_REG asm("%l1") +# define CB_REG asm("%l2") #elif defined(__alpha__) -# define IP_REG asm ("$9") -# define SP_REG asm ("$10") -# define CB_REG asm ("$11") +# define IP_REG asm("$9") +# define SP_REG asm("$10") +# define CB_REG asm("$11") #elif defined(__i386__) -# define IP_REG asm ("%esi") -# define SP_REG asm ("%edi") -# define CB_REG asm ("%ebx") +# define IP_REG asm("%esi") +# define SP_REG asm("%edi") +# define CB_REG asm("%ebx") #elif defined(__powerpc__) || defined(PPC) || defined(_POWER) || defined(_IBMR2) || defined(__ppc__) -# define FOO_REG asm ("13") -# define JP_REG asm ("14") -# define IP_REG asm ("15") -# define SP_REG asm ("16") -# define CB_REG asm ("17") +# define FOO_REG asm("13") +# define JP_REG asm("14") +# define IP_REG asm("15") +# define SP_REG asm("16") +# define CB_REG asm("17") #elif defined(__hppa__) -# define IP_REG asm ("%r18") -# define SP_REG asm ("%r17") -# define CB_REG asm ("%r16") +# define IP_REG asm("%r18") +# define SP_REG asm("%r17") +# define CB_REG asm("%r16") #elif defined(__mc68000__) -# define IP_REG asm ("a5") -# define SP_REG asm ("a4") -# define CB_REG asm ("d7") +# define IP_REG asm("a5") +# define SP_REG asm("a4") +# define CB_REG asm("d7") #endif #if !defined(CB_REG) diff --git a/platforms/Mac OS/vm/sqPlatformSpecific.h b/platforms/Mac OS/vm/sqPlatformSpecific.h index 17524eca10..9059cacc7b 100644 --- a/platforms/Mac OS/vm/sqPlatformSpecific.h +++ b/platforms/Mac OS/vm/sqPlatformSpecific.h @@ -207,7 +207,7 @@ extern const pthread_key_t tltiIndex; # undef EXPORT # define EXPORT(returnType) __attribute__((visibility("default"))) returnType # if !defined(VM_LABEL) -# define VM_LABEL(foo) asm ("\n.globl L" #foo "\nL" #foo ":") +# define VM_LABEL(foo) asm("\n.globl L" #foo "\nL" #foo ":") # endif #endif diff --git a/platforms/iOS/vm/OSX/sqPlatformSpecific.h b/platforms/iOS/vm/OSX/sqPlatformSpecific.h index a557a42a60..d47f06a9a2 100644 --- a/platforms/iOS/vm/OSX/sqPlatformSpecific.h +++ b/platforms/iOS/vm/OSX/sqPlatformSpecific.h @@ -175,7 +175,7 @@ extern const pthread_key_t tltiIndex; # undef EXPORT # define EXPORT(returnType) __attribute__((visibility("default"))) returnType # if !defined(VM_LABEL) -# define VM_LABEL(foo) asm ("\n.globl L" #foo "\nL" #foo ":") +# define VM_LABEL(foo) asm("\n.globl L" #foo "\nL" #foo ":") # endif #endif diff --git a/platforms/unix/vm/sqConfig.h b/platforms/unix/vm/sqConfig.h index c7301f0fc3..4c86bc3dce 100644 --- a/platforms/unix/vm/sqConfig.h +++ b/platforms/unix/vm/sqConfig.h @@ -37,4 +37,4 @@ /* Make the gcc/clang asm keyword available, even when running * in standard C mode. */ -#define asm __asm__ +#define asm __asm__ \ No newline at end of file diff --git a/platforms/win32/plugins/SqueakFFIPrims/sqWin32FFI.c b/platforms/win32/plugins/SqueakFFIPrims/sqWin32FFI.c index 7651d17915..039b90b013 100644 --- a/platforms/win32/plugins/SqueakFFIPrims/sqWin32FFI.c +++ b/platforms/win32/plugins/SqueakFFIPrims/sqWin32FFI.c @@ -320,7 +320,7 @@ int ffiCallAddress(int fn) } #endif #ifdef __GNUC__ - asm ( + asm( "movl %%ebp, _oldBP\n\t" "movl %%esp, _oldSP\n\t" "pushl %%ebx\n\t" diff --git a/platforms/win32/vm/sqGnu.h b/platforms/win32/vm/sqGnu.h index 945bac3a64..53f973efbe 100644 --- a/platforms/win32/vm/sqGnu.h +++ b/platforms/win32/vm/sqGnu.h @@ -116,34 +116,34 @@ especially Intel. */ #if defined(__mips__) -# define IP_REG asm ("$16") -# define SP_REG asm ("$17") -# define CB_REG asm ("$18") +# define IP_REG asm("$16") +# define SP_REG asm("$17") +# define CB_REG asm("$18") #elif defined(__sparc__) -# define IP_REG asm ("%l0") -# define SP_REG asm ("%l1") -# define CB_REG asm ("%l2") +# define IP_REG asm("%l0") +# define SP_REG asm("%l1") +# define CB_REG asm("%l2") #elif defined(__alpha__) -# define IP_REG asm ("$9") -# define SP_REG asm ("$10") -# define CB_REG asm ("$11") +# define IP_REG asm("$9") +# define SP_REG asm("$10") +# define CB_REG asm("$11") #elif defined(__i386__) -# define IP_REG asm ("%esi") -# define SP_REG asm ("%edi") -# define CB_REG asm ("%ebx") -//# define JP_REG asm ("%ebx") +# define IP_REG asm("%esi") +# define SP_REG asm("%edi") +# define CB_REG asm("%ebx") +//# define JP_REG asm("%ebx") #elif defined(PPC) || defined(_POWER) || defined(_IBMR2) -# define IP_REG asm ("26") -# define SP_REG asm ("27") -# define CB_REG asm ("28") +# define IP_REG asm("26") +# define SP_REG asm("27") +# define CB_REG asm("28") #elif defined(__hppa__) -# define IP_REG asm ("%r18") -# define SP_REG asm ("%r17") -# define CB_REG asm ("%r16") +# define IP_REG asm("%r18") +# define SP_REG asm("%r17") +# define CB_REG asm("%r16") #elif defined(__mc68000__) -# define IP_REG asm ("a5") -# define SP_REG asm ("a4") -# define CB_REG asm ("d7") +# define IP_REG asm("a5") +# define SP_REG asm("a4") +# define CB_REG asm("d7") #endif #if !defined(CB_REG) diff --git a/platforms/win32/vm/sqPlatformSpecific.h b/platforms/win32/vm/sqPlatformSpecific.h index b7bf044832..feb3fb0102 100644 --- a/platforms/win32/vm/sqPlatformSpecific.h +++ b/platforms/win32/vm/sqPlatformSpecific.h @@ -149,7 +149,7 @@ extern const unsigned long tltiIndex; #if defined(__GNUC__) # if !defined(VM_LABEL) -# define VM_LABEL(foo) asm ("\n.globl L" #foo "\nL" #foo ":") +# define VM_LABEL(foo) asm("\n.globl L" #foo "\nL" #foo ":") # endif #endif #if !defined(VM_LABEL) || COGVM diff --git a/platforms/win32/vm/sqWin32Window.c b/platforms/win32/vm/sqWin32Window.c index d96f33d1a4..72f2687f6f 100644 --- a/platforms/win32/vm/sqWin32Window.c +++ b/platforms/win32/vm/sqWin32Window.c @@ -1950,8 +1950,8 @@ sqInt ioSetFullScreen(sqInt fullScreen) { /* GCC generates *optimal* code with a little help */ # define BYTE_SWAP(w) __asm__("bswap %0" : "+r" (w)) # define WORD_SWAP(w) __asm__("roll $16, %0" : "+r" (w)) -# define SRC_PIX_REG asm ("%esi") -# define DST_PIX_REG asm ("%edi") +# define SRC_PIX_REG asm("%esi") +# define DST_PIX_REG asm("%edi") # else /* Not GCC?! Well, it's your own fault ;-) */ # define BYTE_SWAP(w) w = (w<<24) | ((w&0xFF00)<<8) | ((w>>8)&0xFF00) | (w>>24) # define WORD_SWAP(w) w = (( (unsigned)(w) << 16) | ((unsigned) (w) >> 16)) From 67363d0bc9bb71aa4895f5b0119a574b0c99242a Mon Sep 17 00:00:00 2001 From: Tobias Pape Date: Fri, 23 Feb 2018 21:03:04 +0100 Subject: [PATCH 5/8] use __ form for asm in IA32ABI plugin because it does not care about sqConfig.h --- platforms/Cross/plugins/IA32ABI/x64sysvabicc.c | 6 +++--- platforms/Cross/plugins/IA32ABI/x64win64abicc.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c b/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c index 346a10652a..e7f9c35593 100644 --- a/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c +++ b/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c @@ -60,8 +60,8 @@ extern struct VirtualMachine* interpreterProxy; #if __GNUC__ -# define setsp(sp) asm volatile ("movq %0,%%rsp" : : "m"(sp)) -# define getsp() ({ void *sp; asm volatile ("movq %%rsp,%0" : "=r"(sp) : ); sp;}) +# define setsp(sp) __asm__ volatile ("movq %0,%%rsp" : : "m"(sp)) +# define getsp() ({ void *sp; __asm__ volatile ("movq %%rsp,%0" : "=r"(sp) : ); sp;}) #endif #define STACK_ALIGN_BYTES 32 /* 32 if a 256-bit argument is passed; 16 otherwise */ @@ -225,7 +225,7 @@ thunkEntry(long a0, long a1, long a2, long a3, long a4, long a5, #if _MSC_VER _asm mov qword ptr valflt64, xmm0; #elif __GNUC__ - asm("movq %0, %%xmm0" : : "m"(valflt64)); + __asm__("movq %0, %%xmm0" : : "m"(valflt64)); #else # error need to load %xmm0 with vmcc.rvs.valflt64 on this compiler #endif diff --git a/platforms/Cross/plugins/IA32ABI/x64win64abicc.c b/platforms/Cross/plugins/IA32ABI/x64win64abicc.c index e74895ca36..0ed34172d8 100644 --- a/platforms/Cross/plugins/IA32ABI/x64win64abicc.c +++ b/platforms/Cross/plugins/IA32ABI/x64win64abicc.c @@ -39,8 +39,8 @@ extern struct VirtualMachine* interpreterProxy; #if __GNUC__ -# define setsp(sp) asm volatile ("movq %0,%%rsp" : : "m"(sp)) -# define getsp() ({ void *sp; asm volatile ("movq %%rsp,%0" : "=r"(sp) : ); sp;}) +# define setsp(sp) __asm__ volatile ("movq %0,%%rsp" : : "m"(sp)) +# define getsp() ({ void *sp; __asm__ volatile ("movq %%rsp,%0" : "=r"(sp) : ); sp;}) #endif #define STACK_ALIGN_BYTES 32 /* 32 if a 256-bit argument is passed; 16 otherwise */ From b1294916e6bf5f7bf53b4fb5e4b801631314a1ff Mon Sep 17 00:00:00 2001 From: Tobias Pape Date: Fri, 23 Feb 2018 21:20:02 +0100 Subject: [PATCH 6/8] Complement to last commit --- platforms/Cross/plugins/IA32ABI/ia32abicc.c | 10 +++++----- platforms/Cross/plugins/IA32ABI/ppc32abicc.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/platforms/Cross/plugins/IA32ABI/ia32abicc.c b/platforms/Cross/plugins/IA32ABI/ia32abicc.c index bc510a0ca9..5a0337fc76 100644 --- a/platforms/Cross/plugins/IA32ABI/ia32abicc.c +++ b/platforms/Cross/plugins/IA32ABI/ia32abicc.c @@ -53,8 +53,8 @@ struct VirtualMachine* interpreterProxy; # define alloca _alloca #endif #if __GNUC__ -# define setsp(sp) asm volatile ("movl %0,%%esp" : : "m"(sp)) -# define getsp() ({ void *sp; asm volatile ("movl %%esp,%0" : "=r"(sp) : ); sp;}) +# define setsp(sp) __asm__ volatile ("movl %0,%%esp" : : "m"(sp)) +# define getsp() ({ void *sp; __asm__ volatile ("movl %%esp,%0" : "=r"(sp) : ); sp;}) #endif #if __APPLE__ && __MACH__ && __i386__ # define STACK_ALIGN_BYTES 16 @@ -183,7 +183,7 @@ thunkEntry(void *thunkp, sqIntptr_t *stackp) # if _MSC_VER _asm sub esp, dword ptr offset; # elif __GNUC__ - asm("sub %0,%%esp" : : "m"(offset)); + __asm__ ("sub %0,%%esp" : : "m"(offset)); # else # error need to subtract offset from esp # endif @@ -223,7 +223,7 @@ thunkEntry(void *thunkp, sqIntptr_t *stackp) #if _MSC_VER _asm mov edx, dword ptr vhigh; #elif __GNUC__ - asm("mov %0,%%edx" : : "m"(vhigh)); + __asm__ ("mov %0,%%edx" : : "m"(vhigh)); #else # error need to load edx with vmcc.rvs.valleint64.high on this compiler #endif @@ -235,7 +235,7 @@ thunkEntry(void *thunkp, sqIntptr_t *stackp) #if _MSC_VER _asm fld qword ptr valflt64; #elif __GNUC__ - asm("fldl %0" : : "m"(valflt64)); + __asm__ ("fldl %0" : : "m"(valflt64)); #else # error need to load %f0 with vmcc.rvs.valflt64 on this compiler #endif diff --git a/platforms/Cross/plugins/IA32ABI/ppc32abicc.c b/platforms/Cross/plugins/IA32ABI/ppc32abicc.c index a08cc7472c..a500cd02a1 100644 --- a/platforms/Cross/plugins/IA32ABI/ppc32abicc.c +++ b/platforms/Cross/plugins/IA32ABI/ppc32abicc.c @@ -92,13 +92,13 @@ struct VirtualMachine* interpreterProxy; # define alloca _alloca #endif #if __GNUC__ -//# define setsp(sp) asm volatile ("movl %0,%%esp" : : "memory"(sp)) -//# define getsp(sp) asm volatile ("movl %%esp,%0" : "=r"(sp) : ) +//# define setsp(sp) __asm__ volatile ("movl %0,%%esp" : : "memory"(sp)) +//# define getsp(sp) __asm__ volatile ("movl %%esp,%0" : "=r"(sp) : ) #endif # define STACK_ALIGN_BYTES 16 #if !defined(setsp) -# define setsp(ignored) asm volatile ("stwu r1,12(r1)\n") +# define setsp(ignored) __asm__ volatile ("stwu r1,12(r1)\n") #endif #define moduloPOT(m,v) ((v)+(m)-1 & ~((m)-1)) @@ -245,7 +245,7 @@ thunkEntry(void *thunkp, sqIntptr_t *stackp) _asm mov edx, dword ptr vhigh; #elif __GNUC__ #warning ASSEMBLER -//asm("mov %0,%%edx" : : "m"(vhigh)); +//__asm__("mov %0,%%edx" : : "m"(vhigh)); #else # error need to load edx with rs->rvs.valint64.high on this compiler #endif @@ -258,7 +258,7 @@ thunkEntry(void *thunkp, sqIntptr_t *stackp) _asm fld qword ptr valflt64; #elif __GNUC__ #warning ASSEMBLER -// asm("fldl %0" : : "m"(valflt64)); +// __asm__("fldl %0" : : "m"(valflt64)); #else # error need to load %f0 with rs->rvs.valflt64 on this compiler #endif From b1b6ddfd09a4e47ee0be84fa0ffc437698b6f9a1 Mon Sep 17 00:00:00 2001 From: Tobias Pape Date: Fri, 23 Feb 2018 21:45:52 +0100 Subject: [PATCH 7/8] Make xabicc more resilient for 32bit --- platforms/Cross/plugins/IA32ABI/xabicc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platforms/Cross/plugins/IA32ABI/xabicc.c b/platforms/Cross/plugins/IA32ABI/xabicc.c index a92e52e2fd..0c94a178f1 100644 --- a/platforms/Cross/plugins/IA32ABI/xabicc.c +++ b/platforms/Cross/plugins/IA32ABI/xabicc.c @@ -5,7 +5,7 @@ * The plugin is misnamed. It should be the AlienPlugin, but its history * dictates otherwise. */ -#if i386|i486|i586|i686 +#if i386|i486|i586|i686|__i386__|__i486__|__i586__|__i686__ # include "ia32abicc.c" #elif powerpc|ppc # include "ppc32abicc.c" @@ -17,5 +17,6 @@ # endif #elif __ARM_ARCH__|__arm__|__arm32__|ARM32 # include "arm32abicc.c" +#else +#error "Unsupported architecture" #endif - From de2e234fe0d9debe59bbbdc46757fc116bed7c13 Mon Sep 17 00:00:00 2001 From: Tobias Pape Date: Fri, 23 Feb 2018 21:49:32 +0100 Subject: [PATCH 8/8] as for xabicc as for ia32abicc --- platforms/Cross/plugins/IA32ABI/ia32abicc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/Cross/plugins/IA32ABI/ia32abicc.c b/platforms/Cross/plugins/IA32ABI/ia32abicc.c index 5a0337fc76..32afec7a8e 100644 --- a/platforms/Cross/plugins/IA32ABI/ia32abicc.c +++ b/platforms/Cross/plugins/IA32ABI/ia32abicc.c @@ -8,7 +8,7 @@ /* null if compiled on other than x86, to get around gnu make bugs or * misunderstandings on our part. */ -#if i386|i486|i586|i686 +#if i386|i486|i586|i686|__i386__|__i486__|__i586__|__i686__ #if defined(_MSC_VER) || defined(__MINGW32__) # include "windows.h" /* for GetSystemInfo & VirtualAlloc */