Hi Warner,
Here are some hacks I made to nominally get the check-tcg system
working on the BSD user builds. The first step was installing GCC as
we skip clang for x86 builds due to inline assembly issues:
../src/configure --disable-system --enable-user \
--python=/usr/local/bin/python3.7 --cross-cc-x86_64=/usr/local/bin/gcc10
and then at least "gmake build-tcg" generates some binaries. You
should also be able to drop a simple helloworld.c in
tests/tcg/multiarch and have something simple to start with. At the
moment all apart from sha1 segfault when run native. None of them run
under the user mode emulation. I leave figuring that out to the BSD
experts.
Alex Bennée (3):
configure: don't override the selected host test compiler if defined
tests/tcg/sha1: remove endian include
tests/tcg: commit Makefile atrocities in the name of portability
configure | 7 +++++--
tests/tcg/multiarch/sha1.c | 1 -
tests/tcg/multiarch/Makefile.target | 6 +++++-
tests/tcg/x86_64/Makefile.target | 4 ++++
4 files changed, 14 insertions(+), 4 deletions(-)
--
2.30.2