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.

c6713 编译失败的问题




**** Build of configuration Debug for project EMIF ****

"D:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Invoking: C6000 Compiler'
"D:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv-mv6700 --abi=coffabi -O1 -ms3 -g --optimize_with_debug=on --symdebug:dwarf_version=3 --include_path="D:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="D:/ti/ccsv5/C6xCSL/include" --machine_regs --symdebug:keep_all_types --relaxed_ansi --no_intrinsics --gen_acp_xref --keep_unneeded_statics --no_inlining --program_level_compile --gen_acp_raw --multibyte_chars --pch --rtti --cpp_default --gcc --static_template_instantiation --define=CHIP_6713 --define=c6713 --display_error_number --diag_warning=225 --diag_wrap=off --optimizer_interlist --openmp --remove_hooks_when_inlining --opt_for_speed=5 --gen_opt_info=2 --call_assumptions=3 --single_inline --aliased_variables  "../edma.c" "../main_emif_look.c" "../pll.c"  "../VECTORS.ASM"  
[edma.c]
>> WARNING: invalid version 0, defaulting to 6200
Command-line error #573: invalid option: symdebug:keep_all_types
1 fatal error detected in this compilation.
Compilation terminated.

>> Compilation failure
gmake: *** [edma.obj] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

控制栏显示的信息如上,还是不懂fatal error到底是什么?因此想请教一下。

  • 编译选项里的 -mv-mv6700 应该是-mv6700。

     

  • 多谢回复,我用的是CCS5.4 ,原本这里就是-mv6700,听了您的建议,改成6700后,编译结果如下(仍不正确):

    **** Build of configuration Debug for project EMIF ****

    "D:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Invoking: C6000 Compiler'
    "D:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv6700 --abi=coffabi -O1 -ms3 -g --optimize_with_debug=on --symdebug:dwarf_version=3 --include_path="D:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="D:/ti/ccsv5/C6xCSL/include" --machine_regs --symdebug:keep_all_types --relaxed_ansi --no_intrinsics --gen_acp_xref --keep_unneeded_statics --no_inlining --program_level_compile --gen_acp_raw --multibyte_chars --pch --rtti --cpp_default --gcc --static_template_instantiation --define=CHIP_6713 --define=c6713 --display_error_number --diag_warning=225 --diag_wrap=off --optimizer_interlist --openmp --remove_hooks_when_inlining --opt_for_speed=5 --gen_opt_info=2 --call_assumptions=3 --single_inline --aliased_variables  "../edma.c" "../main.c" "../pll.c"  "../VECTORS.ASM"  
    [edma.c]
    Command-line error #573: invalid option: symdebug:keep_all_types
    1 fatal error detected in this compilation.
    Compilation terminated.

    >> Compilation failure
    gmake: *** [edma.obj] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • #1. 在建工程时选择C6713就自动为6700了,而不是mv6700,不需要人为改。

    #2. 现在新错误在:

    long lu 说:
    invalid option: symdebug:keep_all_types

    看一下optimization和Debug Options里的设置哪里不对,你是不是手动加的这些编译选项?

  • 谢谢,设置如图。工程是直接import 其他人写的工程,没有改动。

  • 把--symdebug:dwarf_version选项去掉试试,这个选项没什么用,反而影响效率。