⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module toolchain

Module toolchain 

Source
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§

CMakeToolchainFile
Generates a CMake toolchain file for cross-compiling to VeridianOS.
CrossCompilerConfig
Cross-compilation tool paths for a specific target.
LinkerConfig
Linker configuration for a specific target architecture.
Toolchain
A registered toolchain containing one or more components.
ToolchainRegistry
Registry of known toolchains, keyed by name.
VeridianTarget
Describes a supported VeridianOS build target at compile time.

Enums§

ToolchainComponent
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.