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

Previous Next

Package: coreutils;

Reported by: NR <nroycea+gnu <at> gmail.com>

Date: Sun, 11 May 2025 15:44:05 UTC

Severity: normal

Tags: fixed

Merged with 12741

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: NR <nroycea+gnu <at> gmail.com>
To: 78377 <at> debbugs.gnu.org
Subject: bug#78377: Cross-Compile - "src/make-prime-list: cannot execute: required file not found"
Date: Sun, 11 May 2025 10:26:29 -0500
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` target).

I noticed it was a very old issue (going back to 2012).
My workaround was just to `configure` without any arguments, `make
src/primes.h`, then `configure` again for cross-compiling, and run a
normal `make`.




This bug report was last modified 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.