bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add cross-compilation guesses for Midipix


From: Bruno Haible
Subject: Re: [PATCH] Add cross-compilation guesses for Midipix
Date: Fri, 17 Feb 2023 23:12:01 +0100

Ørjan Malde wrote:
> Yes, although there is one exception which is realpath,
> as the midipix framework provides a syscall and realpath wrapper that
> overrides musl's which does behave correctly.

But you haven't extended the test to include the test code that is
currently '#ifdef __linux__'. You'll need to add a corresponding
'|| defined <your_platform>', and *then* see whether the test passes.

Also, as a general sanity-check, it is strongly recommended that
you see whether the Gnulib code, that heavily depends on the configuration
tests, actually works. You do this by creating a testdir:

./gnulib-tool --create-testdir --dir=/tmp/testdir-all 
--without-privileged-tests --single-configure

then transporting the testdir to the target machine, where you run
  ./configure
  make
  make check

*This* is ultimately the check whether the configuration tests provided
a good result. When all tests pass, *then* you can update the cross-
configuration tests and come back to us.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]