session
Update 15: Cross-compilation, zero tools
The zero-external-tools philosophy now spans architectures. fidesc build --target <t> cross-compiles with no assembler, no linker, and no C compiler installed:
- ARM64 Linux (
--target arm64-linux): a built-in AArch64 instruction encoder plus a libc-free runtime speaking raw SVC syscalls. A hello world is a 27KB ELF64. - RISC-V Linux (
--target riscv64-linux): a built-in RV64 encoder (all six instruction formats plus pseudo-instructions) and a raw ECALL syscall runtime. 29KB. - Windows (
--target x86-64-windows): the direct PE emitter wired into the unified build command. 98KB. - Target-aware integrated linker: handles ARM64 relocations (BL, B.cond, ADRP/ADD:lo12) and RISC-V relocations (JAL, branches) in-process.
- Object files in three formats:
fidesc codegenemits relocatable ELF64, Mach-O, and COFF objects for integration with existing toolchains.
47 new cross-compilation encoder and runtime unit tests, zero regressions.