Based on some experimentation with Google Test on RTEMS, here are some patches that fell out of that process, which might be interesting?
Martin Erik Werner (3): rtems: Handle multi-level multilib directories rtems: Make prefix configurable rtems: Provide nonzero argc required by gtest init rtems/Makefile | 1 + rtems/gtest-main.h | 5 +++-- rtems/install-target.sh | 21 +++++++++++++++++++-- 3 files changed, 23 insertions(+), 4 deletions(-) I have tested this on a non-virtual or1k target, and gotten it working with the precompiled and installed gtest.a and gtest-main.h. Some details that might be worth noting is that: * -std=gnu++11 appears to be needed for fdopen() and other posix non-ansi friends. * -lgtest must be linked after the test suite object. -- 2.11.0 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel