A development kit for building Sailfish OS applications on macOS.
Project details
This project provides a comprehensive development kit for building Sailfish OS applications on Apple Silicon. Using Docker, it simplifies the process of running the ARM64 build probe, ensuring a reproducible environment while preserving critical configurations, permissions, and symlinks for efficient development.
The Sailfish ARM64 build probe facilitates the creation of a development environment tailored for Sailfish OS on ARM64 architecture. By leveraging Docker, users can seamlessly run the probe, which automates the process of downloading the official Sailfish OS SDK and setting up the necessary environment.
bash scripts/probe.sh
sailfish-5.1.0.11-aarch64-probe.out/host-packages.txt and locks the Ubuntu base image digest for consistent builds, though it does not guarantee bit-identical outputs.Upon successful execution, the probe generates several output files:
out/hello-c: A C executable that prints the current running version of libc.out/hello-cpp: A C++20-mode executable showcasing the use of STL components like string, vector, and iostream.out/elf-report.txt: Contains essential information regarding architecture, interpreter, dependencies, and symbol versions.out/hello-*.map: Includes all linker inputs while rejecting any unexpected host inputs to maintain integrity.out/runtime-report.txt: Provides insights from executing natively inside the Sailfish target chroot.out/image.txt, out/host-packages.txt: Lists image and host tool versions used during the build.This build probe employs Ubuntu GCC 11 for the compilation process. It uses the system's built-in C/C++ headers without copying any Ubuntu shared libraries into the target, thus ensuring a clean separation. The executables are executed within the target's root using chroot, isolating them from native host directories.
As of October 3, 2026, both AArch64 executables successfully compiled, linked, and executed as intended, producing the expected output indicating compatibility with Sailfish OS userland:
Native ARM64 execution inside Sailfish target chroot:
Hello Sailfish, C / glibc 2.41
Hello Sailfish C++
While this probe demonstrates execution within a CLI userland, it does not validate full compatibility with physical devices or graphical emulation. Users interested in moving beyond this setup may consult various resources for further capabilities.
This repository provides a comprehensive solution for developers aiming to leverage the ARM64 architecture efficiently within the Sailfish ecosystem.
Comments
0Start the conversation
Share the first comment.