mingw cross tests missing DLLs - CROSS_BINDIR not in PATH

Jon Turney jon.turney@dronecode.org.uk
Sun Mar 3 21:39:00 GMT 2024


On 03/03/2024 16:48, Brian Inglis via Cygwin-apps wrote:
> Hi folks,
> 
> I am finding mingw package cross tests fail with missing DLLs - 
> CROSS_BINDIR is not in the PATH.
> 
> I now have to define src_test to run cygtest adding CROSS_BINDIR in the 
> PATH.
> 
> Is this likely to be upstream (e.g. gnulib) changes or cygport changes?

This is a shortcoming of cygport, in that you cannot just write "do the 
standard src_(compile|install|test), but do this extra thing first (like 
modifying PATH as you need in this case).

(One approach to this I've though about would be to have a hook function 
(or set of functions) which are called before each phase of operation, 
to allow this)



More information about the Cygwin-apps mailing list