Thanks, I pushed that patch into coreutils master on Savannah. Closing
the bug report.
Hi,
NR writes:
> I was aiming to build a llvm/musl-based system, and while something
> like `bash` will build fine, I encountered this error attempting to
> build coreutils:
> ```
> In file included from lib/fts.c:53:
> lib/fts_.h:70:32: error: function-like macro '__GNUC_PREREQ' is not defined
I was aiming to build a llvm/musl-based system, and while something
like `bash` will build fine, I encountered this error attempting to
build coreutils:
```
In file included from lib/fts.c:53:
lib/fts_.h:70:32: error: function-like macro '__GNUC_PREREQ' is not defined
70 | # if defined __cplus
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 201
This works for me.
On Fri, 2025-05-09 at 22:23 -0700, Paul Eggert wrote:
> On 2025-05-09 02:32, Pádraig Brady wrote:
> > This is actually being looked at in:
> > https://bugzilla.redhat.com/2363149
> >
> > There is a proposed patch there.
>
> I looked at that patch, and although it sorta works
On 2025-05-10 23:39, Ian Dall wrote:
This works for me.
Thanks for checking. Marking the coreutils bug report as done.