PINT 3.5 SDK: build programs for Windows NT 3.5 on ARM (Raspberry Pi) with MSVC under Wine
68
The PINT 3.5 SDK. It builds programs, DLLs and drivers for PINT 3.5, Windows NT 3.5 on ARM (Raspberry Pi 2, 3, 4 and Zero 2 W), with Microsoft C for ARM (MSVC 14.44, the last MSVC with an ARM32 target) under Wine. It runs natively on arm64 (Apple Silicon) and on amd64.
It has:
intrin.h, stdint.h, sal.h...)nmake builds a makefile that has
!include <ntwin32.mak>include/ddk) and the libraries of kernel mode; the SDK's README has
how to build a driverNo MFC. The image contains no Microsoft software: msvc-setup downloads Microsoft C for ARM from
Microsoft into a volume, as in tenox7/msvc-arm32, which this image is
built on.
Once:
docker run --rm -e ACCEPT_MSVC_LICENSE=yes -v msvc-arm32:/opt/msvc tenox7/pint35sdk msvc-setup
ACCEPT_MSVC_LICENSE=yes accepts the Visual Studio Build Tools license.
A volume set up with tenox7/msvc-arm32 works too.
In the directory of the sources:
docker run --rm -v msvc-arm32:/opt/msvc -v "$PWD":/src tenox7/pint35sdk cl hello.c
docker run --rm -v msvc-arm32:/opt/msvc -v "$PWD":/src tenox7/pint35sdk nmake
| Command | Builds |
|---|---|
cl hello.c | a console program, hello.exe |
cl app.c app.res -link -subsystem:windows | a Windows program (WinMain) with resources (rc -r app.rc) |
cl -LD lib.c | a DLL, lib.dll and lib.lib |
The commands are cl link nmake rc of the SDK and lib dumpbin editbin of Microsoft C. The sources are in /src
(Z:\src for the tools). docker run --rm tenox7/pint35sdk prints the SDK's README.
Copy the program onto PINT's SD card (its FAT partition) or onto a share, and run it.
Content type
Image
Digest
sha256:d89af7458…
Size
1.1 GB
Last updated
2 days ago
docker pull tenox7/pint35sdk