System: Slackware Linux (version 15.0)
CPUs: Intel(R) Core(TM) i5-3230M CPU @2.60GHz
GPU: Mesa DRI Intel(R) HD Graphics 4000
A macOS translation layer for Linux.
http://slackbuilds.org/repository/15.0/development/git-lfs/
git-lfs.tar.gz
git-lfs-linux-amd64-v3.7.1.tar.gz
Git LFS is required to clone the repository.
root@darkstar:/tmp# installpkg --terse git-lfs-3.7.1-x86_64-1_SBo.tgz
git-lfs-3.7.1-x86_64-1_SBo: Git extension ............................................................ [ 13M]
root@darkstar:/tmp#
Git LFS relies on the post-checkout hook.
bash-5.1$ git lfs install
Git LFS initialized.
bash-5.1$ grep -A 4 lfs ~/.gitconfig
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
bash-5.1$ cd /tmp
bash-5.1$ export GIT_CLONE_PROTECTION_ACTIVE=false
bash-5.1$ git clone -q --recursive https://github.com/darlinghq/darling.git
bash-5.1$
Install a couple of packages.
https://slackbuilds.org/repository/15.0/libraries/libmd/
libmd.tar.gz
libmd-1.1.0.tar.xz
root@darkstar:/tmp# installpkg --terse libmd-1.1.0-x86_64-1_SBo.tgz
libmd-1.1.0-x86_64-1_SBo: Message Digest functions from BSD systems .................................. [ 170K]
root@darkstar:/tmp#
https://slackbuilds.org/repository/15.0/libraries/libbsd/
libbsd.tar.gz
libbsd-0.12.2.tar.xz
root@darkstar:/tmp# installpkg --terse libbsd-0.12.2-x86_64-1_SBo.tgz
libbsd-0.12.2-x86_64-1_SBo: library of BSD functions ................................................. [ 900K]
root@darkstar:/tmp#
There is a bug with ninja builds.
root@darkstar:/tmp# cat build.sh
#!/bin/bash
cd darling; tools/uninstall
mkdir build; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DTARGET_i386=OFF ..
# cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DTARGET_i386=OFF .. -GNinja
make -j5 # nproc + 1
# ninja
root@darkstar:/tmp#
The vulkan-sdk version is not recent enough to build from source due to undeclared identifiers.
bash-5.1$ date
ons 3 jun 21:41:10 CEST 2026
bash-5.1$ PKGS=https://mirrors.slackware.com/slackware/slackware64-15.0/testing/packages
bash-5.1$ lynx -dump $PKGS/binutils-gcc-glibc/README | sed 12q
For those who may require them for compatibility with newer binaries or source
code, here are recent versions of binutils, gcc, and glibc. Things to note:
Only lightly tested here, but expected to work for runtime purposes.
You can always back them out by upgradepkg'ing to the older versions, but
anything that you've compiled since installing these will stop working.
Sources that compiled previously might require patching to compile with the
newer gcc.
Basic multilib support is included.
bash-5.1$ lynx -dump $PKGS/graphics-updates/README | sed 7q
Here's an attempt to bring the graphics on -stable up to date.
Mesa needed to be built with a recent LLVM/clang, so you'll need to install
the llvm20-compat package from /extra to use these.
cbindgen and cmake are build-time dependencies, but it probably doesn't hurt
to install them.
bash-5.1$
The list can be reordered placing testing at the beginning.
root@darkstar:/tmp# ed -s /etc/slackpkg/slackpkg.conf <<<'92,97p'
# PRIORITY sets the download priority. slackpkg will try to found the
# package first in the first value, then the second one, through all
# values in list.
#
# Default value: patches %PKGMAIN extra pasture testing
PRIORITY=( patches %PKGMAIN extra pasture testing )
root@darkstar:/tmp# ed /etc/slackpkg/slackpkg.conf
6109
97
PRIORITY=( patches %PKGMAIN extra pasture testing )
c
PRIORITY=( testing patches %PKGMAIN extra pasture )
.
w
6109
q
root@darkstar:/tmp#
Install the collection of libraries from LLVM20.
This will provide runtime support for binaries compiled against them.
root@darkstar:/tmp# installpkg --terse \
> llvm20-compat-20.1.8-x86_64-1_slack15.0.txz
llvm20-compat-20.1.8-x86_64-1_slack15.0: LLVM20 runtime libraries
............................................................................................. [ 127M]
root@darkstar:/tmp#
Run slackpkg update and slackpkg upgrade-all.
root@darkstar:/tmp# man slackpkg | sed -n '154p'
Remember to use the "install-new" action before you use "upgrade-all."
root@darkstar:/tmp#
Remove the build directory.
root@darkstar:/tmp# rm -r darling/build
root@darkstar:/tmp#
Here's the time utility's output on a rerun build.sh for a ninja build.
real 10m46.144s
user 10m21.208s
sys 5m18.692s
Change to the darling/build directory and run ninja install/strip.
bash-5.1$ darling shell
Bootstrapping the container with launchd...
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
Darling [/Volumes/SystemRoot/home/eric]$ sw_vers
ProductName: macOS
ProductVersion: 11.7.4
BuildVersion: Darling
Darling [/Volumes/SystemRoot/home/eric]$ logout
bash-5.1$ darling shutdown
bash-5.1$
https://www.darlinghq.org/