i want to use zig as a drop-in replacement for a clang cross-compiler with -t arm-none-eabi and -mcpu=cortex-m0plus… i’ve recently learned about the (undocumented) zig clang sub-command, which accepted these options as expected…
treating zig as my “clang installation”, where would a header like <stddef.h> be found???
more important, i currently call ld.lld directly – passing it a link to libc_v6m_t_le_eabi_small.a… for my purposes, the latter library contains definitions of run-time functions like __aeabi_uidiv …