This is a request for help, not a bug report.
When cross-compiling hidapi using llvm-mingw wrapper (a mingw-w64 wrapper around clang, capable of producing ARM64 binaries for Windows, it shows the following error:
Bad output from llvm-mingw build logs:
make[2]: Entering directory '/work/hidtest'
CCLD hidtest.exe
- libtool: error: Could not determine the host path corresponding to
- libtool: error: '/work/windows/.libs'
libtool: error: Continuing, but uninstalled executables may not work.
libtool: error: Could not determine the host path corresponding to
libtool: error: '/work/windows/.libs:/usr/local/lib:/usr/local/bin'
libtool: error: Continuing, but uninstalled executables may not work.
I assume this is due to /work/hidtest/hidtest.exe not being knowledgeable of /work/windows/.libs, but if that's the case, why does this NOT fail when building using mingw-w64 directly?
Good output from mingw-w64 build logs:
make[2]: Entering directory '/work/hidtest'
CC test.o
CCLD hidtest.exe
make[2]: Leaving directory '/work/hidtest'
make[2]: Entering directory '/work'
make[2]: Leaving directory '/work'
make[1]: Leaving directory '/work'
Naturally, the build produces usable binaries, only the hidtest.exe seems to fail, which is benign to this particular build system.
Questions:
- Can I configure make to skip building
hidtest.exe to eliminate the error?
- What types of things can I look at to patch this? Why would the build system fail for this environment only?
Note 1: As a reminder, llvm-mingw uses clang under the covers, so if there are any GNU-specific assumptions in the compiler, I'd be happy to dig deeper. Any help is appreciated!
Note 2: I've searched before asking and found #187, #68. Neither seem to be the same exact problem, but I wanted to link them incase they are. 🍻
This is a request for help, not a bug report.
When cross-compiling
hidapiusingllvm-mingwwrapper (a mingw-w64 wrapper around clang, capable of producing ARM64 binaries for Windows, it shows the following error:Bad output from
llvm-mingwbuild logs:make[2]: Entering directory '/work/hidtest' CCLD hidtest.exe - libtool: error: Could not determine the host path corresponding to - libtool: error: '/work/windows/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/work/windows/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work.I assume this is due to
/work/hidtest/hidtest.exenot being knowledgeable of/work/windows/.libs, but if that's the case, why does this NOT fail when building using mingw-w64 directly?Good output from
mingw-w64build logs:Naturally, the build produces usable binaries, only the
hidtest.exeseems to fail, which is benign to this particular build system.Questions:
hidtest.exeto eliminate the error?Note 1: As a reminder,
llvm-mingwuses clang under the covers, so if there are any GNU-specific assumptions in the compiler, I'd be happy to dig deeper. Any help is appreciated!Note 2: I've searched before asking and found #187, #68. Neither seem to be the same exact problem, but I wanted to link them incase they are. 🍻