Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
303c848
OpenBSD (untested)
KenDickey Jan 14, 2026
e636a3e
unworking
KenDickey Jan 14, 2026
df91992
pre-working backup
KenDickey Jan 14, 2026
6c59844
checkpoint
KenDickey Jan 14, 2026
86a7221
linux->openbsd
KenDickey Jan 15, 2026
f7368ce
QNX
KenDickey Jan 15, 2026
ac691d5
Checkpoint
KenDickey Jan 18, 2026
f961f3e
QNX
KenDickey Jan 19, 2026
b794972
compile flags fix
KenDickey Jan 20, 2026
50e96b4
compile flags fix
KenDickey Jan 20, 2026
38ded2f
Compile flags fixup
KenDickey Jan 20, 2026
abe0041
OBSD Readme
KenDickey Jan 20, 2026
a823f8d
Compiler flags fixup
KenDickey Jan 15, 2026
19ed523
linux->openbsd
KenDickey Jan 20, 2026
e8de0ec
linux->openbsd
KenDickey Jan 20, 2026
4ca71b8
linux->openbsd
KenDickey Jan 20, 2026
4af2fda
remove threading variant
KenDickey Jan 15, 2026
997884a
remove OpenBSD deltas
KenDickey Jan 21, 2026
5b0f5c9
Elide OpenBSD
KenDickey Jan 21, 2026
499e0e5
Elide OpenBSD
KenDickey Jan 21, 2026
561513e
odd caseing repaired
KenDickey Jan 22, 2026
bdac313
Merge branch 'OpenSmalltalk:Cog' into Cog
KenDickey Jan 22, 2026
02376ea
cleanup
KenDickey Jan 22, 2026
eacf9fd
Merge branch 'Cog' of https://github.com/KenDickey/QNX-vm into Cog
KenDickey Jan 22, 2026
42b98f8
cleanup *omit*
KenDickey Jan 22, 2026
98370d8
QNX RPi5 self hosting
KenDickey Mar 14, 2026
778c1d3
QNX RPi5 self hosting
KenDickey Mar 14, 2026
e6eb28b
-lscreen
KenDickey Mar 14, 2026
0be39d3
unneeded DEBUG flag
KenDickey Mar 15, 2026
1990ada
A screen, not a window'ed app
KenDickey Mar 15, 2026
7d76dde
ReadWrite plugins
KenDickey Mar 15, 2026
7e86275
--with-vm-display-qnxScreen
KenDickey Mar 15, 2026
7e41d29
QNX aarch64 Cog
KenDickey Mar 27, 2026
eddbf34
Update README.qnx
KenDickey Mar 27, 2026
030210f
Hide QNX Cursor in favor of ours
KenDickey Apr 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 8 additions & 13 deletions building/linux64ARMv8/squeak.cog.spur/build.assert/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,19 @@ INSTALLDIR=assert/sqcogspur64ARMv8linuxht
MACHINE="-march=armv8-a -mtune=cortex-a72"
OPT="-g3 -O1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DDEBUGVM=0"

if [ `uname` = "OpenBSD" ]; then
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=0"
# librt and libpthread functions now supplied by libc.
# Many Linux systems supply empty library files but
# OpenBSD does not.
LIBRT=""
# OpenBSD has problems with fast-bitblt under gcc and clang
FASTBITBLT=""
# Many Linux systems supply empty library files.
LIBRT="-lrt"

# Prefer clang over gcc if available
if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi
else # non-OpenBSD Linux
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"
LIBRT="-lrt"

DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"
# Linux on ARMv8 properly compiles fast-bitblt under gcc
# but compiles-and-segfaults with clang. Use gcc for now.
FASTBITBLT=" --enable-fast-bitblt "
CC=gcc
fi
FASTBITBLT=" --enable-fast-bitblt "
CC=gcc


if [ $# -ge 1 ]; then
INSTALLDIR="$1"; shift
Expand Down
19 changes: 5 additions & 14 deletions building/linux64ARMv8/squeak.cog.spur/build.debug/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,15 @@ INSTALLDIR=debug/sqcogspur64ARMv8linuxht
MACHINE="-march=armv8-a -mtune=cortex-a72"
OPT="-g3 -O0 -DDEBUGVM=1 -DAIO_DEBUG=1"

if [ `uname` = "OpenBSD" ]; then
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=0"
# librt and libpthread functions now supplied by libc.
# Many Linux systems supply empty library files but
# OpenBSD does not.
LIBRT=""
# OpenBSD has problems with fast-bitblt under gcc and clang
FASTBITBLT=""
# Prefer clang over gcc if available
if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi
else # non-OpenBSD Linux
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"
LIBRT="-lrt"

DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"
LIBRT="-lrt"
# Linux on ARMv8 properly compiles fast-bitblt under gcc
# but compiles-and-segfaults with clang. Use gcc for now.
FASTBITBLT=" --enable-fast-bitblt "
CC=gcc
fi
FASTBITBLT=" --enable-fast-bitblt "
CC=gcc

if [ $# -ge 1 ]; then
INSTALLDIR="$1"; shift
Expand Down
25 changes: 5 additions & 20 deletions building/linux64ARMv8/squeak.cog.spur/build/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,15 @@ 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
OPT="$OPT -DMUSL"
CFLAGS="$CFLAGS $OPT -I/usr/local/include"
LIBS="$LIBS -lexecinfo"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=0"
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"
# librt and libpthread functions now supplied by libc.
# Many Linux systems supply empty library files but
# OpenBSD does not.
LIBRT=""
# OpenBSD has problems with fast-bitblt under gcc and clang
FASTBITBLT=""
# Prefer clang over gcc if available
if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi
else # non-OpenBSD Linux
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"
LIBRT="-lrt"
# Many Linux systems supply empty library file.
LIBRT="-lrt"
# Linux on ARMv8 properly compiles fast-bitblt under gcc
# but compiles-and-segfaults with clang. Use gcc for now.
FASTBITBLT=" --enable-fast-bitblt "
CC=gcc
fi
FASTBITBLT=" --enable-fast-bitblt "
CC=gcc

if [ $# -ge 1 ]; then
INSTALLDIR="$1"; shift
Expand Down
14 changes: 10 additions & 4 deletions building/linux64ARMv8/squeak.cogmt.spur/build/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ set -e
INSTALLDIR=sqcogspurmt64ARMv8linuxht
# armv8.N-a all fail in signalSemaphoreWithIndex for N in 1,2,3,4,5
MACHINE="-march=armv8-a -mtune=cortex-a72"
OPT="-g -O2 -DNDEBUG -DDEBUGVM=0 -DMUSL -D_GNU_SOURCE -DUSEEVDEV"
##OPT="-g -O3 -DNDEBUG -DDEBUGVM=0"
OPT="-g -O2 -DNDEBUG -DDEBUGVM=0 -DUSEEVDEV"
CFLAGS="$CFLAGS $OPT -I/usr/local/include"
LIBS="$LIBS -lexecinfo"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=0"
# librt and libpthread functions now supplied by libc.
# Many Linux systems supply empty library files.
LIBRT="-lrt"

if [ $# -ge 1 ]; then
INSTALLDIR="$1"; shift
Expand All @@ -23,9 +29,9 @@ test -f config.h || ../../../../platforms/unix/config/configure \
--without-npsqueak \
--with-scriptname=spur64 \
INTERP=cointerpmt \
CC=clang \
CC=gcc \
CFLAGS="$MACHINE $OPT -DCOGMTVM=1 -DDUAL_MAPPED_CODE_ZONE=1" \
LIBS="-lrt"
LIBS=$LIBRT
## --without-vm-display-fbdev --without-npsqueak \
rm -f vm/sqUnixMain.o # nuke version info
rm -rf ../../../../products/$INSTALLDIR
Expand Down
6 changes: 1 addition & 5 deletions building/linux64ARMv8/squeak.stack.spur/build.assert/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ set -e
INSTALLDIR=assert/sqstkspur64ARMv8linuxht
OPT="-g3 -O1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DDEBUGVM=0"

if [ `uname` = "OpenBSD" ]; then
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=0"
else
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"
fi
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"

# Prefer clang over gcc if available
if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi
Expand Down
8 changes: 1 addition & 7 deletions building/linux64ARMv8/squeak.stack.spur/build.debug/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ set -e
INSTALLDIR=debug/sqstkspur64ARMv8linuxht
OPT="-g3 -O0 -DDEBUG -DDEBUGVM=1 -DDEBUG_EVENTS -DDEBUG_KEYBOARD_EVENTS -DDEBUG_MOUSE_EVENTS -DUSEEVDEV -DMUSL"

### OPT="-g3 -O0 -DDEBUGVM=1"

if [ `uname` = "OpenBSD" ]; then
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=0"
else
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"
fi
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"

# Prefer clang over gcc if available
if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi
Expand Down
7 changes: 1 addition & 6 deletions building/linux64ARMv8/squeak.stack.spur/build/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@ set -e
# Stack Spur VM with VM profiler and threaded heartbeat
INSTALLDIR=sqstkspur64ARMv8linuxht
OPT="-g -O2 -DNDEBUG -DDEBUGVM=0 -DMUSL -D_GNU_SOURCE -DUSEEVDEV"
### OPT="-g -O2 -DNDEBUG -DDEBUGVM=0"

if [ `uname` = "OpenBSD" ]; then
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=0"
else
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"
fi
DUALMAP="-DDUAL_MAPPED_CODE_ZONE=1"

# Prefer clang over gcc if available
if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
set -e
# assert VM with VM profiler and itimer heartbeat
INSTALLDIR=assert/sqcogspur64linux
OPT="-g3 -O1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DDEBUGVM=0"
OPT="-g3 -O1 -DDEBUGVM=0"

# librt and libpthread funs now supplied by libc
# Many Linux systems supply empty library files
CFLAGS="$CFLAGS $OPT -msse2 -DCOGMTVM=0"
LIBS="$LIBS -lrt"
LDFLAGS="$LDFLAGS"

# Prefer clang over gcc if available
if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi
Expand Down
18 changes: 4 additions & 14 deletions building/linux64x64/squeak.cog.spur/build.assert/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,16 @@
set -e
# assert VM with VM profiler and threaded heartbeat
INSTALLDIR=assert/sqcogspur64linuxht
OPT="-g3 -O1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DDEBUGVM=0"
OPT="-g3 -O1 -DDEBUGVM=0"

# Prefer clang over gcc if available
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"
LIBS="$LIBS -lexecinfo"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
fi
CFLAGS="$CFLAGS $OPT -msse2 -DCOGMTVM=0"
LIBS="$LIBS -lrt"
LDFLAGS="$LDFLAGS"

if [ $# -ge 1 ]; then
INSTALLDIR="$1"; shift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ set -e
INSTALLDIR=debug/sqcogspur64linux
OPT="-g3 -O0 -DDEBUGVM=1"

# librt and libpthread funs now supplied by libc
# Many Linux systems supply empty library files
CFLAGS="$CFLAGS $OPT -msse2 -DCOGMTVM=0"
LIBS="$LIBS -lrt"
LDFLAGS="$LDFLAGS"

# Prefer clang over gcc if available
if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi

Expand Down
20 changes: 5 additions & 15 deletions building/linux64x64/squeak.cog.spur/build.debug/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,14 @@ set -e
INSTALLDIR=debug/sqcogspur64linuxht
OPT="-g3 -O0 -DDEBUGVM=1"

# Prefer clang over gcc if available
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=""
CFLAGS="$CFLAGS $OPT -msse2 -DCOGMTVM=0"
LIBS="$LIBS -lrt"
LDFLAGS="$LDFLAGS"

# Special treatment for OpenBSD Linux
if [ `uname` = "OpenBSD" ]; then
CFLAGS="$CFLAGS -I/usr/local/include"
LIBS="$LIBS -lexecinfo"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
fi
# Prefer clang over gcc if available
if [ -n "$(command -v clang || true)" ]; then CC=clang; else CC=gcc; fi

if [ $# -ge 1 ]; then
INSTALLDIR="$1"; shift
Expand Down
17 changes: 3 additions & 14 deletions building/linux64x64/squeak.cog.spur/build/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,9 @@ 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

# Special treatment for OpenBSD Linux
if [ `uname` = "OpenBSD" ]; then
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
CFLAGS="$CFLAGS $OPT -msse2 -DCOGMTVM=0"
LIBS="$LIBS -lrt"
LDFLAGS="$LDFLAGS"

if [ $# -ge 1 ]; then
INSTALLDIR="$1"; shift
Expand Down
2 changes: 1 addition & 1 deletion building/linux64x64/squeak.sista.spur/build.assert/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e
# assert Sista Spur VM with VM profiler and threaded heartbeat
INSTALLDIR=assert/sqsisspur64linuxht
OPT="-g3 -O1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DDEBUGVM=0"
OPT="-g3 -O1 -DDEBUGVM=0"

# Prefer clang over gcc, but use gcc if clang isn't available...
CC=gcc
Expand Down
2 changes: 1 addition & 1 deletion building/linux64x64/squeak.stack.spur/build.assert/mvm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e
# assert Stack Spur VM with VM profiler and threaded heartbeat
INSTALLDIR=assert/sqstkspur64linuxht
OPT="-g3 -O1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DDEBUGVM=0"
OPT="-g3 -O1 -DDEBUGVM=0"

# Prefer clang over gcc, but use gcc if clang isn't available...
CC=gcc
Expand Down
Loading
Loading