Skip to content

Commit

Permalink
For Windows 64-bit, add build files for squeak.sista.spur flavor.
Browse files Browse the repository at this point in the history
  • Loading branch information
marceltaeumel authored and eliotmiranda committed May 10, 2023
1 parent 8657ff7 commit b0f09d7
Show file tree
Hide file tree
Showing 13 changed files with 261 additions and 0 deletions.
3 changes: 3 additions & 0 deletions building/win64x64/squeak.sista.spur/Croquet.def.in
@@ -0,0 +1,3 @@
; Set the total stack size to 4 megabytes (0x400000), reserving 4Mb and
; committing 64k (0x10000)
STACKSIZE 0x400000,0x10000
43 changes: 43 additions & 0 deletions building/win64x64/squeak.sista.spur/Croquet.exe.manifest
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0"
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="*"
name="www.opensmalltalk.org.Cog.Croquet"
type="win32"
/>
<description>Croquet Smalltalk Virtual Machine</description>
<asmv3:application>
<asmv3:windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitor</dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
<!-- Windows 8.1 -->
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<!-- Windows 8 -->
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<!-- Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>
</compatibility>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
Binary file added building/win64x64/squeak.sista.spur/Croquet.ico
Binary file not shown.
32 changes: 32 additions & 0 deletions building/win64x64/squeak.sista.spur/Croquet.rc
@@ -0,0 +1,32 @@
#ifdef _WIN32
1 ICON DISCARDABLE "Croquet.ico"
2 ICON DISCARDABLE "Croquet.ico"
3 ICON DISCARDABLE "Croquet.ico"

1 VERSIONINFO
FILEVERSION FILEVERSIONVALUES
PRODUCTVERSION 5,0,0,0
FILEFLAGSMASK 0x3fL
FILEFLAGS 0xaL
FILEOS 0x10001L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4" // Lang=US English, CharSet=Windows Multilin
BEGIN
VALUE "CompanyName", "Squeak.org\0"
VALUE "FileDescription", "Croquet Cog Spur Virtual Machine\0"
VALUE "FileVersion", FILEVERSIONSTRING
VALUE "LegalCopyright", "Copyright \251 Squeak.org 1996-2014\0"
VALUE "ProductName", "Croquet Cog Spur\0"
VALUE "ProductVersion", "5.0\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
#endif
Binary file not shown.
17 changes: 17 additions & 0 deletions building/win64x64/squeak.sista.spur/Makefile
@@ -0,0 +1,17 @@
#############################################################################
# Makefile for Win32 Cog Spur Squeak VM using gcc-3.4.x and cygwin
# Do make init to allow make -n to function.
#############################################################################

VM:=Squeak
VMSRCDIR:=../../../src/spur64.sista

COMPILER_TO_USE:=clang

# This variable is set by VS Native Tools Command Prompts, not for cygwin wins
VSCMD_ARG_HOST_ARCH := $(shell echo $$VSCMD_ARG_HOST_ARCH)
ifeq ($(VSCMD_ARG_HOST_ARCH),)
include ../common/Makefile
else
include ../common/Makefile.msvc
endif
3 changes: 3 additions & 0 deletions building/win64x64/squeak.sista.spur/Squeak.def.in
@@ -0,0 +1,3 @@
; Set the total stack size to 4 megabytes (0x400000), reserving 4Mb and
; committing 64k (0x10000)
STACKSIZE 0x400000,0x10000
43 changes: 43 additions & 0 deletions building/win64x64/squeak.sista.spur/Squeak.exe.manifest
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0"
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="*"
name="www.opensmalltalk.org.Cog.Squeak"
type="win32"
/>
<description>Squeak Smalltalk Virtual Machine</description>
<asmv3:application>
<asmv3:windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitor</dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
<!-- Windows 8.1 -->
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<!-- Windows 8 -->
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<!-- Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>
</compatibility>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
32 changes: 32 additions & 0 deletions building/win64x64/squeak.sista.spur/Squeak.rc
@@ -0,0 +1,32 @@
#ifdef _WIN32
1 ICON DISCARDABLE "GreenCogSqueak.ico"
2 ICON DISCARDABLE "squeak2.ico"
3 ICON DISCARDABLE "squeak3.ico"

1 VERSIONINFO
FILEVERSION FILEVERSIONVALUES
PRODUCTVERSION 5,0,0,0
FILEFLAGSMASK 0x3fL
FILEFLAGS 0xaL
FILEOS 0x10001L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4" // Lang=US English, CharSet=Windows Multilin
BEGIN
VALUE "CompanyName", "Squeak.org\0"
VALUE "FileDescription", "Squeak Cog Spur Virtual Machine\0"
VALUE "FileVersion", FILEVERSIONSTRING
VALUE "LegalCopyright", "Copyright \251 Squeak.org 1996-2014\0"
VALUE "ProductName", "Squeak Cog Spur\0"
VALUE "ProductVersion", "5.0\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
#endif
35 changes: 35 additions & 0 deletions building/win64x64/squeak.sista.spur/mvm
@@ -0,0 +1,35 @@
#!/usr/bin/env bash
set -e
A=;D=;F=
if [ $# = 0 ]; then
A=1;D=1;F=1
else
while getopts 'Aadf?' opt "$@"; do
case $opt in
A) A=1;D=1;F=1;;
a) A=1;;
d) D=1;;
f) F=1;;
*) echo usage $0 [-A] [-a\ [-d] [-f]; exit 0;;
esac
done
if [ "$1" = -- ]; then
if [ "$A$D$F" = "" ]; then
A=1;D=1;F=1
fi
fi
shift `expr $OPTIND - 1`
fi
if ../../../scripts/checkSCCSversion ; then exit 1; fi
if [ -n "$D" ]; then
rm -rf builddbg/vm/*.exe
make $@ debug 2>&1 | tee LOGD ; test ${PIPESTATUS[0]} -eq 0
fi
if [ -n "$A" ]; then
rm -rf buildast/vm/*.exe
make $@ assert 2>&1 | tee LOGA ; test ${PIPESTATUS[0]} -eq 0
fi
if [ -n "$F" ]; then
rm -rf build/vm/*.exe
make $@ 2>&1 | tee LOGF ; test ${PIPESTATUS[0]} -eq 0
fi
14 changes: 14 additions & 0 deletions building/win64x64/squeak.sista.spur/plugins.ext
@@ -0,0 +1,14 @@
# Copied, perhaps edited, from ../../../src/examplePlugins.ext
EXTERNAL_PLUGINS = \
B3DAcceleratorPlugin \
CameraPlugin \
FileAttributesPlugin \
Squeak3D \
SqueakFFIPrims \
SqueakSSL \
UUIDPlugin \
Win32OSProcessPlugin \
DESPlugin \
MD5Plugin \
SHA2Plugin \
VectorEnginePlugin
39 changes: 39 additions & 0 deletions building/win64x64/squeak.sista.spur/plugins.int
@@ -0,0 +1,39 @@
# Copied, perhaps edited, from ../../../src/examplePlugins.int
INTERNAL_PLUGINS = \
ADPCMCodecPlugin \
AsynchFilePlugin \
B2DPlugin \
BitBltPlugin \
BMPReadWriterPlugin \
ClipboardExtendedPlugin \
CroquetPlugin \
ZipPlugin \
DropPlugin \
DSAPrims \
FFTPlugin \
FilePlugin \
FileDialogPlugin \
Float64ArrayPlugin \
FloatArrayPlugin \
FloatMathPlugin \
HostWindowPlugin \
IA32ABI \
JoystickTabletPlugin \
JPEGReaderPlugin \
JPEGReadWriter2Plugin \
Klatt \
LargeIntegers \
LocalePlugin \
Matrix2x3Plugin \
MIDIPlugin \
MiscPrimitivePlugin \
Mpeg3Plugin \
RePlugin \
SecurityPlugin \
SerialPlugin \
SocketPlugin \
SoundCodecPrims \
SoundGenerationPlugin \
SoundPlugin \
StarSqueakPlugin \
SurfacePlugin
Binary file added building/win64x64/squeak.sista.spur/squeak.ico
Binary file not shown.

0 comments on commit b0f09d7

Please sign in to comment.