Skip to content

About

Rows for systems mcpp's built-in table does not carry: one platform package, mcpp.platforms

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

mcpp-platforms

Rows for systems mcpp's built-in table does not carry, as one platform package, mcpp.platforms: each system's triples, the base each row links against, and a runner that boots the system to run its programs. The engine names no system; these rows are data it reads (mcpp SPEC-013, SPEC-016).

mcpp build --target x86_64-netbsd        # the package index names this platform for the row
mcpp run   --target x86_64-netbsd        # once the row's runner is enabled
Row Base C++ library Runner
x86_64-freebsd xim:x86_64-freebsd-sysroot@14.5 the base's libc++ FreeBSD 14.5 in QEMU (dirun)
aarch64-freebsd xim:aarch64-freebsd-sysroot@14.5 the base's libc++ FreeBSD 14.5 in QEMU (dirun)
x86_64-netbsd xim:x86_64-netbsd-sysroot@10.2 libc++ from source (llvm.libcxx) NetBSD 10.2 in QEMU (dirun)
aarch64-netbsd xim:aarch64-netbsd-sysroot@10.2 libc++ from source (llvm.libcxx) none
x86_64-openbsd xim:x86_64-openbsd-sysroot@8.0 the base's libc++ OpenBSD 8.0 in QEMU (dirun)
aarch64-openbsd xim:aarch64-openbsd-sysroot@8.0 the base's libc++ none

The rows build on Linux x86_64 and aarch64 and on macOS arm64; on Windows x86_64 the NetBSD and OpenBSD rows build and the FreeBSD rows do not link yet, from mcpp 2026.11.17.2 (docs/adding-a-system.md).

Every row compiles import std. NetBSD's own C++ library is GCC 10's libstdc++, which ships no module sources; its rows take the C++ layer from libc++ built over NetBSD's C library (the providers' layers), and the compiler runtime, libgcc_s, stays the system's.

A runner fetches a machine image on its first use, so it is off until a project or a machine enables it, for one row or for every row of this platform:

[target.x86_64-netbsd]
runner = true

[target.'cfg(platform = "platforms")']
runner = true

Adding a system: docs/adding-a-system.md.

Further reading

Topic mcpp document
What a platform is, how a project selects one, and the index's platform column docs/35 Platforms; SPEC-013 Platforms
Rows, providers, systems and runners as data SPEC-016 Targets and providers
The layers of the target side and base packages (a sysroot with mcpp.toml) docs/22 The target side; SPEC-002
Running a program on another system: runners, enabled, --file docs/41 Devices; docs/09 Commands by scenario
[target.<selector>] and cfg(...) docs/04 mcpp.toml; manifest semantics
The sysroot and disk image packages, and their dirun profiles xim-pkgindex docs/12 Disk image assets

About

Rows for systems mcpp's built-in table does not carry: one platform package, mcpp.platforms

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages