Well, I know it's pretty easy in Debian. (It's not completely pain-free if you need unpackaged third-party libraries and/or if you are cross-compiling from one uncommon architecture to another.)
> What's the state of the art for cross-compiling in $CURRENTYEAR?
Poopy garbage dog poop.
glibc is a dumpster fire of bad design. If you want to cross-compile for an arbitrarily old version of glibc then... good luck. It can be done. But it's nightmare fuel.
What's the state of the art for cross-compiling in $CURRENTYEAR?
I just run gentoo and follow their cross-compile guide, as well as set up distcc; but that's for system packages.
TBH I'd use qemu if I had to make something work for arbitrary code.
https://wiki.gentoo.org/wiki/Crossdev
But there are others.
Well, I know it's pretty easy in Debian. (It's not completely pain-free if you need unpackaged third-party libraries and/or if you are cross-compiling from one uncommon architecture to another.)
Honesty probably zig cc.
> What's the state of the art for cross-compiling in $CURRENTYEAR?
Poopy garbage dog poop.
glibc is a dumpster fire of bad design. If you want to cross-compile for an arbitrarily old version of glibc then... good luck. It can be done. But it's nightmare fuel.
Is the cross-compilation story any better with musl?
1 reply →
What sort of roadblocks do you run into? Just to get an idea for the flavor of problems.
3 replies →
gcc and glibc SDKs are hell beyond anything sane.
Like it is done on purpose.
4 replies →