gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-04 11:32:32 36 4
gpt4 key购买 nike

我知道可以将 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/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com