This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
大家好、
我们尝试使用以下选项(编译器和链接器)从命令行生成编译:
链接器选项:-mv7R4 --code_state=32 --float_support=VFPv3D16 -g --diag_warning=225 --diag_wrap=off --display_error_number --
enum_type=packed --abi=eabi -z --reread_libs --diag_wrap=off --display_error_number --warn_sections \
--rom_model -be32 -lrtsv7R4_T_be_v3D16_eabi.lib
编译器选项:-mv7R4 --code_state=32 --float_support=VFPv3D16 \
--include_path="include"\
-g --symdebug:dwarf_version=3 --c89 --c++14 -pr --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile \
-o=off -mf=1 --fp_mode=strict --unaligned_access=on --embedded_constants=on --common=on \
-ss --wchar_t=16 -pr --float_operations_allowed=all -plain_char=unsigned -frBut、使用这些、我们无法在目标上运行映像。 编译器和链接器选项中缺少我们需要的任何内容?
注意:根据 CCS8.0配置设置、我们使用相同的选项从命令提示符生成编译。
此致、
M.Sreenivasan。
这些选项通常适用于您的器件、但选项的选择实际上取决于应用程序以及您希望如何定制生成的代码。
[引用 user="Sreenivasan m"]注意:根据 CCS8.0配置设置,我们使用相同的选项从命令提示符生成编译。
也许我不理解您的问题、但您说的是、相同的构建选项在 CCS 内构建时会产生不同的输出文件、而不是通过命令行构建? 如果是、这两种情况下的 Exact build 命令是什么?如何确定一种情况下的映像不正确?