Expand description
Toolchain Management for VeridianOS SDK
Provides toolchain registration, cross-compilation configuration, and linker setup for building user-space packages targeting VeridianOS. Supports x86_64, AArch64, and RISC-V architectures with appropriate defaults for each target.
NOTE: Many types in this module are forward declarations for user-space APIs. They will be exercised when user-space process execution is functional. See TODO(user-space) markers for specific activation points.
Structs§
- CMake
Toolchain File - Generates a CMake toolchain file for cross-compiling to VeridianOS.
- Cross
Compiler Config - Cross-compilation tool paths for a specific target.
- Linker
Config - Linker configuration for a specific target architecture.
- Toolchain
- A registered toolchain containing one or more components.
- Toolchain
Registry - Registry of known toolchains, keyed by name.
- Veridian
Target - Describes a supported VeridianOS build target at compile time.
Enums§
- Toolchain
Component - Identifies a single component within a toolchain installation.
Functions§
- generate_
cross_ env - Generate a complete set of cross-compilation environment variables for the given target, including compiler paths, flags, and pkg-config hints.
- generate_
linker_ script - Generate a basic VeridianOS linker script for the given target architecture.