bug#78377: Cross-Compile - "src/make-prime-list: cannot execute: required file not found"

2025-05-13 Thread Paul Eggert
On 2025-05-13 10:01, Collin Funk wrote: Doesn't crc32 in Gnulib handle this using $(BUILD_CC)? I imagine it should be simple to do the same here. I can have a look later. Yes, that should work, so long as the build host isn't a Microsoft Windows platform that would require $(BUILD_EXEEXT). And

bug#78377: Cross-Compile - "src/make-prime-list: cannot execute: required file not found"

2025-05-13 Thread Collin Funk
Pádraig Brady writes: > The workaround isn't too onerous, > but yes it would be good to clean this up. Doesn't crc32 in Gnulib handle this using $(BUILD_CC)? I imagine it should be simple to do the same here. I can have a look later. Collin

bug#78377: Cross-Compile - "src/make-prime-list: cannot execute: required file not found"

2025-05-13 Thread Pádraig Brady
forcemerge 12741 78377 stop On 11/05/2025 16:26, NR wrote: It'd be nice to be able to cross-compile coreutils. It could be done by detecting if `--host=` is different from the build system. If it is different, then make the `src/primes.h` target natively (specifically the `src/make-prime-list`