HEY
-
-
Replying to @whitequark
it's just that, like, I don't feel like there's any fundamental reason for them to cause as much suffering as they invariably cause
2 replies 0 retweets 16 likes -
Replying to @johnregehr @whitequark
As someone who has worked in embedded and is currently working on RISC-V I have to disagree vehemently. Also: Most of the troubles with cross compilers have nothing to do with the compilers but with libraries and stuff like lib paths. Fuck those! -ffreestanding -nostdlib :)
2 replies 0 retweets 5 likes -
I don't find that they cause much suffering unless people expect to just pull in random dependencies from all over (eg, packages installed on their build machine, rather than third-party code vendored into their source tree). If you manage your whole build tree, life is saner.
1 reply 0 retweets 1 like -
Mind you, it's work, but it's worth it. Some of this comes from a background of building-the-whole-OS and wanting or needing to know where exactly every bit of source comes from and keep track of it. YMMV, I suppose.
2 replies 0 retweets 1 like -
IME most cross-compiler related pain is caused by a) compilers that aren't always cross-compiling (*cough*GCC) and b) awful homegrown buildsystems
1 reply 0 retweets 1 like -
The worst experience I ever had was trying to cross-build for x86-64 ("embedded") from x86-64 (linux) and jumping through hoops to ensure the compiler didn't start slurping in headers/libraries from the host system. When host/target are different archs it's harder to mess up.
1 reply 0 retweets 1 like -
Replying to @dnaltews @whitequark and
I find packages that insist on using autoconf most annoying, because, seriously, I am not going to cross-build by running a target system in emulation and building there and I don't think I need a full hand to count the number of times cross-configure has ever worked correctly.
2 replies 0 retweets 0 likes -
Just maintain a config.cache file, either hand-written or obtained by running configure in the emulator or real hardware. I ported ROCK Linux to PowerPC in three days at 16C3 using an iMac G3 for testing and running configure scripts. Most builds were cross builds from x86.
1 reply 0 retweets 0 likes -
This assumes your target is also linux or very similar to linux... such that it has all the toolchain, library, shell, etc, infrastructure to be linuxy enough to run autoconf successfully. I have not, primarily, worked on target systems that are sufficiently similar to linux.
1 reply 0 retweets 1 like
But then you'll have the same issues with a native build, so I personally wouldn't call those problems cross-build problems then.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.