News for hackers. Stuff that matters.
Re:Single binary executable packages by qbasic_forever on Wednesday March 02, 2022 @01:28PM (#30530884)
I don't think people realize just how much work tools like crosstool NG do to take away the pain of cross compiling. I remember trying to cross compile stuff in the early 2000s before all that tooling existed and.... oh boy, it was nightmare fuel. A good docker container setup makes it even easier these days.
Re:Single binary executable packages by ranger_danger on Wednesday March 02, 2022 @10:39PM (#30536869)
I think clang (https://clang.llvm.org/docs/CrossCompilation.html) even makes crosstool largely irrelevant these days. Just specify your desired triplet on the command-line and off you go cross-compiling (mostly) effortlessly without having to build an entirely new toolchain. It can even masquerade as the MSVC compiler if you so desire.