I need to cross-compile a complex project (from x86-64 to aarch64, both on Debian). My project doesn't fit existing tools like
cross, so I would like to learn how to do the cross-compilation "the hard way" so that I can make it build myself.
Can you recommend an extensive guide for this?
I've searched for guides, but all I find falls into one of two categories:
"How to draw an Owl meme". They say "Just run
rustup target…and then solve the remaining thousand build errors yourself."
or "Here, run my Docker black-box". That's underwhelming. It doesn't teach me anything, and I'd rather not have to reverse-engineer that knowledge from someone else's sparsely-commented patched-up implementation.