From 9adc505eb1eac59678b79bd8408ec21633848184 Mon Sep 17 00:00:00 2001 From: KenDickey Date: Sun, 26 Oct 2025 13:38:37 -0700 Subject: [PATCH 01/13] arm64 OpenBSD --- building/linux64ARMv8/squeak.cog.spur/build.debug/mvm | 1 + building/linux64ARMv8/squeak.cog.spur/build/mvm | 2 ++ platforms/unix/vm/sqUnixMemory.c | 4 ++++ 3 files changed, 7 insertions(+) diff --git a/building/linux64ARMv8/squeak.cog.spur/build.debug/mvm b/building/linux64ARMv8/squeak.cog.spur/build.debug/mvm index 235c119042..64279e784f 100755 --- a/building/linux64ARMv8/squeak.cog.spur/build.debug/mvm +++ b/building/linux64ARMv8/squeak.cog.spur/build.debug/mvm @@ -14,6 +14,7 @@ if [ `uname` = "OpenBSD" ]; then LIBRT="" # OpenBSD has problems with fast-bitblt under gcc and clang FASTBITBLT="" + OPT="$OPT -DMUSL" # Prefer clang over gcc if available if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi else # non-OpenBSD Linux diff --git a/building/linux64ARMv8/squeak.cog.spur/build/mvm b/building/linux64ARMv8/squeak.cog.spur/build/mvm index d299659380..b98cf07d6a 100755 --- a/building/linux64ARMv8/squeak.cog.spur/build/mvm +++ b/building/linux64ARMv8/squeak.cog.spur/build/mvm @@ -6,6 +6,7 @@ INSTALLDIR=sqcogspur64ARMv8linuxht # tpr - add enablementisation of fast bitblt ben avison code MACHINE="-march=armv8-a -mtune=cortex-a72" OPT="-g -O2 -DNDEBUG -DDEBUGVM=0 -D_GNU_SOURCE -DUSEEVDEV" + ##OPT="-g -O3 -DMUSL -DNDEBUG -DDEBUGVM=0" if [ `uname` = "OpenBSD" ]; then @@ -16,6 +17,7 @@ if [ `uname` = "OpenBSD" ]; then LIBRT="" # OpenBSD has problems with fast-bitblt under gcc and clang FASTBITBLT="" + OPT="$OPT -DMUSL" # Prefer clang over gcc if available if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi else # non-OpenBSD Linux diff --git a/platforms/unix/vm/sqUnixMemory.c b/platforms/unix/vm/sqUnixMemory.c index 17d5343a26..681b0d800d 100644 --- a/platforms/unix/vm/sqUnixMemory.c +++ b/platforms/unix/vm/sqUnixMemory.c @@ -87,7 +87,11 @@ int mmapErrno = 0; #endif #define MAP_PROT (PROT_READ | PROT_WRITE) +#ifdef __OpenBSD__ +#define MAP_FLAGS (MAP_ANON | MAP_PRIVATE | MAP_STACK) +#else #define MAP_FLAGS (MAP_ANON | MAP_PRIVATE) +#endif extern int useMmap; /* Since Cog needs to make memory executable via mprotect, and since mprotect From 164a2283a7a8106bbf37601cb0a940763a94b83c Mon Sep 17 00:00:00 2001 From: KenDickey Date: Sun, 26 Oct 2025 15:50:31 -0700 Subject: [PATCH 02/13] x86 OpenBSD --- building/linux64ARMv8/squeak.cog.spur/build/mvm | 2 -- building/linux64x64/squeak.cog.spur/build.debug/mvm | 1 + building/linux64x64/squeak.cog.spur/build/mvm | 12 ++++++------ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/building/linux64ARMv8/squeak.cog.spur/build/mvm b/building/linux64ARMv8/squeak.cog.spur/build/mvm index b98cf07d6a..5976ca0df6 100755 --- a/building/linux64ARMv8/squeak.cog.spur/build/mvm +++ b/building/linux64ARMv8/squeak.cog.spur/build/mvm @@ -7,8 +7,6 @@ INSTALLDIR=sqcogspur64ARMv8linuxht MACHINE="-march=armv8-a -mtune=cortex-a72" OPT="-g -O2 -DNDEBUG -DDEBUGVM=0 -D_GNU_SOURCE -DUSEEVDEV" -##OPT="-g -O3 -DMUSL -DNDEBUG -DDEBUGVM=0" - if [ `uname` = "OpenBSD" ]; then DUALMAP="-DDUAL_MAPPED_CODE_ZONE=0" # librt and libpthread functions now supplied by libc. diff --git a/building/linux64x64/squeak.cog.spur/build.debug/mvm b/building/linux64x64/squeak.cog.spur/build.debug/mvm index 5814694860..9fadf6ea3f 100755 --- a/building/linux64x64/squeak.cog.spur/build.debug/mvm +++ b/building/linux64x64/squeak.cog.spur/build.debug/mvm @@ -21,6 +21,7 @@ if [ `uname` = "OpenBSD" ]; then CFLAGS="$CFLAGS -I/usr/local/include" LIBS="$LIBS -lexecinfo" LDFLAGS="$LDFLAGS -L/usr/local/lib" + OPT="$OPT -DMUSL" fi if [ $# -ge 1 ]; then diff --git a/building/linux64x64/squeak.cog.spur/build/mvm b/building/linux64x64/squeak.cog.spur/build/mvm index 5f8639bf78..220d43b086 100755 --- a/building/linux64x64/squeak.cog.spur/build/mvm +++ b/building/linux64x64/squeak.cog.spur/build/mvm @@ -11,17 +11,17 @@ if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi # librt and libpthread funs now supplied by libc # Many Linux systems supply empty library files # but OpenBSD does not. -if [ `uname` = "OpenBSD" ]; then LIBRT=""; else LIBRT="-lrt"; fi - -CFLAGS="$OPT -msse2 -DCOGMTVM=0" -LIBS=$LIBRT -LDFLAGS="" # Special treatment for OpenBSD Linux if [ `uname` = "OpenBSD" ]; then - CFLAGS="$CFLAGS -I/usr/local/include" + OPT="$OPT -DMUSL" + CFLAGS="$CFLAGS $OPT -I/usr/local/include" LIBS="$LIBS -lexecinfo" LDFLAGS="$LDFLAGS -L/usr/local/lib" +else + CFLAGS="$CFLAGS $OPT -msse2 -DCOGMTVM=0" + LIBS="$LIBS -lrt" + LDFLAGS="$LDFLAGS" fi if [ $# -ge 1 ]; then From b4ea78252ac0a81c2c115b090835252d4e269484 Mon Sep 17 00:00:00 2001 From: KenDickey Date: Wed, 3 Dec 2025 20:53:15 -0800 Subject: [PATCH 03/13] Broken pieces but making progress --- building/linux64/squeak.stack.spur/build/mvm | 3 +- .../linux64/squeak.stack.spur/plugins.ext | 25 +- .../linux64/squeak.stack.spur/plugins.int | 59 +- .../linux64x64/squeak.cog.spur/plugins.ext | 2 +- building/qnx64ARMv8/How2QNX | 30 + .../qnx64ARMv8/squeak.stack.spur/Save/LOG | 33 + .../squeak.stack.spur/Save/config.h | 520 + .../squeak.stack.spur/Save/config.sh | 15 + .../squeak.stack.spur/Save/config.status | 1988 +++ .../qnx64ARMv8/squeak.stack.spur/Save/libtool | 11948 ++++++++++++++++ .../squeak.stack.spur/Save/make.cfg | 112 + .../squeak.stack.spur/Save/make.ext | 23 + .../squeak.stack.spur/Save/make.int | 12 + .../squeak.stack.spur/Save/make.prg | 20 + .../squeak.stack.spur/Save/make.targets | 73 + .../squeak.stack.spur/Save/plugins.ext | 24 + .../squeak.stack.spur/Save/plugins.int | 57 + .../qnx64ARMv8/squeak.stack.spur/makeallclean | 15 + .../qnx64ARMv8/squeak.stack.spur/makealldirty | 15 + building/qnx64ARMv8/squeak.stack.spur/mvm | 47 + .../qnx64ARMv8/squeak.stack.spur/plugins.ext | 24 + .../qnx64ARMv8/squeak.stack.spur/plugins.int | 58 + .../qnx64ARMv8/squeak.stack.spur/sourceMe.sh | 32 + platforms/unix/vm-display-fbdev/sqUnixFBDev.c | 2 +- platforms/unix/vm-display-qnxScreen/Balloon.h | 2169 +++ .../unix/vm-display-qnxScreen/Makefile.in | 60 + .../unix/vm-display-qnxScreen/README.qnx | 12 + .../unix/vm-display-qnxScreen/acinclude.m4 | 12 + .../vm-display-qnxScreen/sqQNXScreenDisplay.c | 600 + platforms/unix/vm/aio.c | 4 +- platforms/unix/vm/include_ucontext.h | 6 + platforms/unix/vm/sqUnixCharConv.c | 2 + platforms/unix/vm/sqUnixSpurMemory.c | 9 +- 33 files changed, 17979 insertions(+), 32 deletions(-) create mode 100644 building/qnx64ARMv8/How2QNX create mode 100644 building/qnx64ARMv8/squeak.stack.spur/Save/LOG create mode 100644 building/qnx64ARMv8/squeak.stack.spur/Save/config.h create mode 100644 building/qnx64ARMv8/squeak.stack.spur/Save/config.sh create mode 100755 building/qnx64ARMv8/squeak.stack.spur/Save/config.status create mode 100755 building/qnx64ARMv8/squeak.stack.spur/Save/libtool create mode 100644 building/qnx64ARMv8/squeak.stack.spur/Save/make.cfg create mode 100644 building/qnx64ARMv8/squeak.stack.spur/Save/make.ext create mode 100644 building/qnx64ARMv8/squeak.stack.spur/Save/make.int create mode 100644 building/qnx64ARMv8/squeak.stack.spur/Save/make.prg create mode 100644 building/qnx64ARMv8/squeak.stack.spur/Save/make.targets create mode 100644 building/qnx64ARMv8/squeak.stack.spur/Save/plugins.ext create mode 100644 building/qnx64ARMv8/squeak.stack.spur/Save/plugins.int create mode 100755 building/qnx64ARMv8/squeak.stack.spur/makeallclean create mode 100755 building/qnx64ARMv8/squeak.stack.spur/makealldirty create mode 100755 building/qnx64ARMv8/squeak.stack.spur/mvm create mode 100644 building/qnx64ARMv8/squeak.stack.spur/plugins.ext create mode 100644 building/qnx64ARMv8/squeak.stack.spur/plugins.int create mode 100644 building/qnx64ARMv8/squeak.stack.spur/sourceMe.sh create mode 100644 platforms/unix/vm-display-qnxScreen/Balloon.h create mode 100644 platforms/unix/vm-display-qnxScreen/Makefile.in create mode 100644 platforms/unix/vm-display-qnxScreen/README.qnx create mode 100644 platforms/unix/vm-display-qnxScreen/acinclude.m4 create mode 100644 platforms/unix/vm-display-qnxScreen/sqQNXScreenDisplay.c diff --git a/building/linux64/squeak.stack.spur/build/mvm b/building/linux64/squeak.stack.spur/build/mvm index 6568a20f46..e37c03208b 100755 --- a/building/linux64/squeak.stack.spur/build/mvm +++ b/building/linux64/squeak.stack.spur/build/mvm @@ -15,9 +15,10 @@ n|no|N|NO) echo "ok but this isn't safe!!";; esac ../../../../scripts/copylinuxpluginspecfiles test -f config.h || ../../../../platforms/unix/config/configure \ - --with-vmversion=5.0 \ + --with-vmversion=5.0 \ --with-src=src/spur64.stack --disable-cogit \ --without-vm-display-fbdev --without-npsqueak \ + --without-x \ TARGET_ARCH="-m64" \ CC=clang \ VM_WORD_SIZE="64" \ diff --git a/building/linux64/squeak.stack.spur/plugins.ext b/building/linux64/squeak.stack.spur/plugins.ext index 1d6ab64cd5..fdad04f73e 100644 --- a/building/linux64/squeak.stack.spur/plugins.ext +++ b/building/linux64/squeak.stack.spur/plugins.ext @@ -1,19 +1,30 @@ # Copied, perhaps edited, from ../../../src/examplePlugins.ext EXTERNAL_PLUGINS = \ -MIDIPlugin \ -B3DAcceleratorPlugin \ -ClipboardExtendedPlugin \ FileAttributesPlugin \ -Squeak3D \ SqueakFFIPrims \ SqueakSSL \ LocalePlugin \ UnicodePlugin \ -UnixOSProcessPlugin \ UUIDPlugin \ -ImmX11Plugin \ -XDisplayControlPlugin \ DESPlugin \ MD5Plugin \ SHA2Plugin \ VectorEnginePlugin + + +# MIDIPlugin \ +# B3DAcceleratorPlugin \ +# ClipboardExtendedPlugin \ +# FileAttributesPlugin \ +# Squeak3D \ +# SqueakFFIPrims \ +# SqueakSSL \ +# LocalePlugin \ +# UnicodePlugin \ +# UnixOSProcessPlugin \ +# UUIDPlugin \ +# ImmX11Plugin \ +# XDisplayControlPlugin \ +# DESPlugin \ +# MD5Plugin \ +# SHA2Plugin \ diff --git a/building/linux64/squeak.stack.spur/plugins.int b/building/linux64/squeak.stack.spur/plugins.int index 102ddaca84..744c86406a 100644 --- a/building/linux64/squeak.stack.spur/plugins.int +++ b/building/linux64/squeak.stack.spur/plugins.int @@ -1,17 +1,6 @@ # Copied, perhaps edited, from ../../../src/examplePlugins.int INTERNAL_PLUGINS = \ -ADPCMCodecPlugin \ -AioPlugin \ -AsynchFilePlugin \ -B2DPlugin \ BitBltPlugin \ -BMPReadWriterPlugin \ -CroquetPlugin \ -HostWindowPlugin \ -ZipPlugin \ -DropPlugin \ -DSAPrims \ -FFTPlugin \ FileCopyPlugin \ FilePlugin \ FileDialogPlugin \ @@ -19,10 +8,6 @@ Float64ArrayPlugin \ FloatArrayPlugin \ FloatMathPlugin \ IA32ABI \ -JoystickTabletPlugin \ -JPEGReaderPlugin \ -JPEGReadWriter2Plugin \ -Klatt \ LargeIntegers \ Matrix2x3Plugin \ MiscPrimitivePlugin \ @@ -31,9 +16,43 @@ RePlugin \ SecurityPlugin \ SerialPlugin \ SocketPlugin \ -SoundCodecPrims \ -SoundGenerationPlugin \ -SoundPlugin \ StarSqueakPlugin \ -SurfacePlugin \ -VMProfileLinuxSupportPlugin +SurfacePlugin + +# ADPCMCodecPlugin \ +# AioPlugin \ +# AsynchFilePlugin \ +# B2DPlugin \ +# BitBltPlugin \ +# BMPReadWriterPlugin \ +# CroquetPlugin \ +# HostWindowPlugin \ +# ZipPlugin \ +# DropPlugin \ +# DSAPrims \ +# FFTPlugin \ +# FileCopyPlugin \ +# FilePlugin \ +# FileDialogPlugin \ +# Float64ArrayPlugin \ +# FloatArrayPlugin \ +# FloatMathPlugin \ +# IA32ABI \ +# JoystickTabletPlugin \ +# JPEGReaderPlugin \ +# JPEGReadWriter2Plugin \ +# Klatt \ +# LargeIntegers \ +# Matrix2x3Plugin \ +# MiscPrimitivePlugin \ +# Mpeg3Plugin \ +# RePlugin \ +# SecurityPlugin \ +# SerialPlugin \ +# SocketPlugin \ +# SoundCodecPrims \ +# SoundGenerationPlugin \ +# SoundPlugin \ +# StarSqueakPlugin \ +# SurfacePlugin \ +# VMProfileLinuxSupportPlugin diff --git a/building/linux64x64/squeak.cog.spur/plugins.ext b/building/linux64x64/squeak.cog.spur/plugins.ext index 9344cb6f9e..e2a17bda1b 100644 --- a/building/linux64x64/squeak.cog.spur/plugins.ext +++ b/building/linux64x64/squeak.cog.spur/plugins.ext @@ -18,7 +18,7 @@ XDisplayControlPlugin \ DESPlugin \ MD5Plugin \ SHA2Plugin \ -VectorEnginePlugin \ +VectorEnginePlugin ## CameraPlugin OpenBSD fails to build this.. # GdbARMPlugin # fails to compile # GdbARMv8Plugin # ditto diff --git a/building/qnx64ARMv8/How2QNX b/building/qnx64ARMv8/How2QNX new file mode 100644 index 0000000000..04fd83c9ae --- /dev/null +++ b/building/qnx64ARMv8/How2QNX @@ -0,0 +1,30 @@ +Instructions to build an OpenSmalltalk-VM for the QNX 8.0 microkernel. + +It is assumed the build system is x86 Linux and target is Raspberry Pi 4 QNX. + +There is no requirement for Visual Studio, but you will need the free +QNX licence and Software Development Platform available from: + https://qnx.com/getqnx + +Docs at: + https://www.qnx.com/developers/docs/qnxeverywhere/index.html + +The basic differences from a Linux build are that + [A] OpenSmalltalk-VM is cross compiled [x86 build -> aarch64 runtime] + [B] QNX includes and libraries are required + +Basic Steps: + [0] Get QNX SDP [url above] + [1] Get OpenSmalltalk-VM + cd $HOME + ## Fixme: release to Opensmalltalk/OpenSmalltalk-VM + git clone --filter=blob:none https://github.com/KenDickey/opensmalltalk-vm + [2] Build it + cd opensmalltalk-vm/building/qnx64ARMv8/squeak.stack.spur/build + ./mvm + # Answer "y" to "clean?" + [3] Copy VM files to QNX Target + [4] Copy Smalltalk image, changes, sources files to QNX target [no git available] + [5] Playtime! + + diff --git a/building/qnx64ARMv8/squeak.stack.spur/Save/LOG b/building/qnx64ARMv8/squeak.stack.spur/Save/LOG new file mode 100644 index 0000000000..5604be2b64 --- /dev/null +++ b/building/qnx64ARMv8/squeak.stack.spur/Save/LOG @@ -0,0 +1,33 @@ +qcc -Vgcc_ntoaarch64le -Wall -g -O2 -DNDEBUG -DDEBUGVM=0 -DCOGMTVM=0 -DLSB_FIRST=1 -I/home/kend/qnx800/target/qnx/usr/include -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -I/home/kend/qnx800/target/qnx/usr/include -DHAVE_CONFIG_H -DSQUEAK_BUILTIN_PLUGIN -I/home/kend/Kens-VM/building/qnx64ARMv8/squeak.stack.spur/build -I/home/kend/Kens-VM/building/qnx64ARMv8/squeak.stack.spur/build -I/home/kend/Kens-VM/platforms/unix/vm -I/home/kend/Kens-VM/platforms/Cross/vm -I/home/kend/Kens-VM/src/spur64.stack -I/usr/local/include -I/home/kend/Kens-VM/platforms/Cross/vm -I/home/kend/Kens-VM/platforms/unix/vm -I/home/kend/Kens-VM/src/spur64.stack -I/home/kend/Kens-VM/platforms/Cross/plugins/FilePlugin -I/home/kend/Kens-VM/platforms/unix/plugins/B3DAcceleratorPlugin -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -I/home/kend/qnx800/target/qnx/usr/include -c -o sqUnixMain.o /home/kend/Kens-VM/platforms/unix/vm/sqUnixMain.c +ar -rc vm.a gcc3x-cointerp.o sqNamedPrims.o sqVirtualMachine.o sqHeapMap.o sqExternalSemaphores.o sqTicker.o aio.o debug.o osExports.o sqUnixExternalPrims.o sqUnixMemory.o sqUnixSpurMemory.o sqUnixCharConv.o sqUnixMain.o sqUnixVMProfile.o sqUnixHeartbeat.o sqUnixThreads.o sqUnixDisplayHelpers.o +ranlib vm.a +make[1]: 'BitBltPlugin.a' is up to date. +make[1]: 'FileCopyPlugin.a' is up to date. +make[1]: 'FilePlugin.a' is up to date. +make[1]: 'FileDialogPlugin.a' is up to date. +make[1]: 'Float64ArrayPlugin.a' is up to date. +make[1]: 'FloatArrayPlugin.a' is up to date. +make[1]: 'FloatMathPlugin.a' is up to date. +make[1]: 'IA32ABI.a' is up to date. +make[1]: 'LargeIntegers.a' is up to date. +make[1]: 'Matrix2x3Plugin.a' is up to date. +make[1]: 'MiscPrimitivePlugin.a' is up to date. +make[1]: 'RePlugin.a' is up to date. +make[1]: 'SecurityPlugin.a' is up to date. +make[1]: 'SerialPlugin.a' is up to date. +make[1]: 'SocketPlugin.a' is up to date. +make[1]: 'StarSqueakPlugin.a' is up to date. +make[1]: 'SurfacePlugin.a' is up to date. +/home/kend/Kens-VM/platforms/unix/config/verstamp version.c qcc -Vgcc_ntoaarch64le +qcc -Vgcc_ntoaarch64le -Wall -g -O2 -DNDEBUG -DDEBUGVM=0 -DCOGMTVM=0 -DLSB_FIRST=1 -I/home/kend/qnx800/target/qnx/usr/include -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -I/home/kend/qnx800/target/qnx/usr/include -Wl,-z,now -L/home/kend/qnx800/target/qnx/aarch64le/lib -L/home/kend/qnx800/target/qnx/aarch64le/usr/lib -c -o version.o version.c +/bin/bash /home/kend/Kens-VM/building/qnx64ARMv8/squeak.stack.spur/build/libtool --mode=link qcc -Vgcc_ntoaarch64le -Wall -g -O2 -DNDEBUG -DDEBUGVM=0 -DCOGMTVM=0 -DLSB_FIRST=1 -I/home/kend/qnx800/target/qnx/usr/include -Wl,-z,now -L/home/kend/qnx800/target/qnx/aarch64le/lib -L/home/kend/qnx800/target/qnx/aarch64le/usr/lib -export-dynamic -o squeak vm/vm.a BitBltPlugin/BitBltPlugin.a FileCopyPlugin/FileCopyPlugin.a FilePlugin/FilePlugin.a FileDialogPlugin/FileDialogPlugin.a Float64ArrayPlugin/Float64ArrayPlugin.a FloatArrayPlugin/FloatArrayPlugin.a FloatMathPlugin/FloatMathPlugin.a IA32ABI/IA32ABI.a LargeIntegers/LargeIntegers.a Matrix2x3Plugin/Matrix2x3Plugin.a MiscPrimitivePlugin/MiscPrimitivePlugin.a RePlugin/RePlugin.a SecurityPlugin/SecurityPlugin.a SerialPlugin/SerialPlugin.a SocketPlugin/SocketPlugin.a StarSqueakPlugin/StarSqueakPlugin.a SurfacePlugin/SurfacePlugin.a version.o -lz -lm -lsocket -liconv -linputevents -lffi -L/home/kend/qnx800/target/qnx/aarch64le/lib -L/home/kend/qnx800/target/qnx/aarch64le/usr/lib -Wl,--whole-archive,vm/vm.a,--no-whole-archive +/home/kend/Kens-VM/building/qnx64ARMv8/squeak.stack.spur/build/libtool: line 8245: QNX_TARGET: command not found +/home/kend/Kens-VM/building/qnx64ARMv8/squeak.stack.spur/build/libtool: line 8245: QNX_TARGET: command not found +libtool: link: qcc -Vgcc_ntoaarch64le -Wall -g -O2 -DNDEBUG -DDEBUGVM=0 -DCOGMTVM=0 -DLSB_FIRST=1 -I/home/kend/qnx800/target/qnx/usr/include -Wl,-z -Wl,now -o squeak version.o -Wl,--whole-archive -Wl,vm/vm.a -Wl,--no-whole-archive -Wl,--export-dynamic -L/home/kend/qnx800/target/qnx/aarch64le/lib -L/home/kend/qnx800/target/qnx/aarch64le/usr/lib vm/vm.a BitBltPlugin/BitBltPlugin.a FileCopyPlugin/FileCopyPlugin.a FilePlugin/FilePlugin.a FileDialogPlugin/FileDialogPlugin.a Float64ArrayPlugin/Float64ArrayPlugin.a FloatArrayPlugin/FloatArrayPlugin.a FloatMathPlugin/FloatMathPlugin.a IA32ABI/IA32ABI.a LargeIntegers/LargeIntegers.a Matrix2x3Plugin/Matrix2x3Plugin.a MiscPrimitivePlugin/MiscPrimitivePlugin.a RePlugin/RePlugin.a SecurityPlugin/SecurityPlugin.a SerialPlugin/SerialPlugin.a SocketPlugin/SocketPlugin.a StarSqueakPlugin/StarSqueakPlugin.a SurfacePlugin/SurfacePlugin.a -lz -lm -lsocket -liconv -linputevents -lffi + + text data bss dec hex filename + 744959 27792 649272 1422023 15b2c7 squeak + +/bin/bash: line 1: ./squeak: cannot execute binary file: Exec format error +/bin/bash: line 1: ./squeak: cannot execute binary file: Exec format error +make: *** [Makefile:182: squeak] Error 126 diff --git a/building/qnx64ARMv8/squeak.stack.spur/Save/config.h b/building/qnx64ARMv8/squeak.stack.spur/Save/config.h new file mode 100644 index 0000000000..ec54383c91 --- /dev/null +++ b/building/qnx64ARMv8/squeak.stack.spur/Save/config.h @@ -0,0 +1,520 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* config.h.in -- template for config.h -*- C -*- + * + * Copyright (C) 1996-2007 by Ian Piumarta and other authors/contributors + * listed elsewhere in this file. + * All rights reserved. + * + * This file is part of Unix Squeak. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +/* Author: Ian.Piumarta@squeakland.org + * + * Last edited: 2006-04-23 12:34:41 by piumarta on emilia.local + */ + +#ifndef __sq_config_h +#define __sq_config_h + +#ifdef _FEATURES_H +#error This file was included too late. Please make sure it is included earlier +#endif + + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* Is atexit present */ +#define AT_EXIT atexit + +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +/* #undef CRAY_STACKSEG_END */ + +/* Define to 1 if using `alloca.c'. */ +/* #undef C_ALLOCA */ + +/* Defined when building on Darwin */ +/* #undef DARWIN */ + +/* Define to 1 if you have `alloca', as a function or macro. */ +#define HAVE_ALLOCA 1 + +/* Define to 1 if you have and it should be used (not on Ultrix). + */ +#define HAVE_ALLOCA_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ALSA_ASOUNDLIB_H */ + +/* Define to 1 if you have the