4 This directory contains cross profiles to allow cross compilation for the specified target.
5 A cross profile file must provide the following variables:
7 - XBPS_TARGET_MACHINE (as returned by uname -m + optional -musl suffix)
8 - XBPS_CROSS_TRIPLET (the cross compiler triplet)
9 - XBPS_CROSS_CFLAGS (C compiler flags for the cross compiler)
10 - XBPS_CROSS_CXXFLAGS (C++ compiler flags for the cross compiler)
11 - XBPS_CROSS_FFLAGS (Fortran compiler flags for the cross compiler)
12 - XBPS_CROSS_CPPFLAGS (Preprocessor flags for the cross compiler)
13 - XBPS_CROSS_LDFLAGS (Linker flags for the cross compiler)
14 - XBPS_CROSS_RUST_TARGET (the rust triplet for the rust cross compiler)
15 - XBPS_CROSS_RUSTFLAGS (rust compiler flags for the cross compiler)
16 - XBPS_CROSS_ZIG_TARGET (the arch-os-abi target triplet for zig)
17 - XBPS_CROSS_ZIG_CPU (the cpu/feature set for zig)
19 A source package matching `cross-${XBPS_CROSS_TRIPLET}' must also exist.