c++ - CppUnit 可以用于嵌入式系统吗?

标签 c++ embedded cppunit

我知道可以将 CppUnit Lite 用于嵌入式系统,但 CppUnit 也是这种情况吗?

最佳答案

在 INSTALL 文件中找到答案...

If you want to use a cross compiler, that generates code for a platform different from the build platform, you should specify the host platform (i.e., that on which the generated programs will eventually be run) with --host=TYPE. In this case, you should also specify the build platform with --build=TYPE, because, in this case, it may not be possible to guess the build platform (it sometimes involves compiling and running simple test programs, and this can't be done if the compiler is a cross compiler).

关于c++ - CppUnit 可以用于嵌入式系统吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24179263/

相关文章:

c++ - 运行重复的测试报告作为不同的测试

c++ - 在 UnitTesting (cppunit) 中使用另一个文件中定义的结构时出错

visual-studio - 在 VS2010 上构建/使用 CppUnit 库

java - C++ 迭代器模型与 Java 迭代器模型

c++ - clock() 对于定时器来说可靠吗?

linux - 在运行 fedora 11 的嵌入式系统中存储序列号的位置

c - 如何解决 C 代码的 MISRA C :2012 Rule 13. 2 和 13.3?

c++ - 企业在 Linux 上使用哪些 C/C++ 编译器?

c++ - 如何在 C++ 中将 typedef 用于泛型类

embedded - 在 STM32 传输结束时,循环 DMA 外设到存储器的行为如何?