My application contains several libraries and a test suite based on GoogleTest that I successfully run on Windows, Linux and Android.
Hexagon-clang cannot compile gtest library, because of limited support for the standard library.
However, it successfully compiles other libraries, that are part of my application.
While studying examples in Hexagon SDK 3.5.2 I've found example SemiHostedFunction. It creates ELF executable with hexagon-clang, then it creates DLL with MSVC, then runs hexagon-sim with these two files.
It seems to me that this example demonstrates a way to go for me. Is it right?
Is it possible to develop an additional test suite that would run on x86 (Windows or Linux), load .so files produced by hexagon-clang from my libraries, submit them to hexagon-sim, retrieve and check results?