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
你(们)好
我们看到编译器 GNU v9.2.1已添加到工具链中、并想尝试一下。 (目前、我们使用的是 GNU v7.2.1 (Linaro)。
但是、在多次未成功的试验之后、我们仍然在 BIOS_6_75_02_00和 c:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-major\arm-no-eabi\include\中收到大量错误消息
例如:
C:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\basical_string.h:在函数'std:::::string std:_cxx11::::to _string (long long long) int:
C:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\basic_string.h:6569:50:错误:'vsnprintf'不是'sctd'的成员;您是指'isprint'?
6569 |{return __GNU_cxx:__TO_xstring (std:vsnprintf、
|^~~~~~~~~μ A
| isprint
C:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\basical_string.h:在函数'std:::::string std:_cxx11:::::to string (long long long unsigned int')中:
C:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\basic_string.h:6575:50:错误:'vsnprintf'不是'sctd'的成员;您是指'isprint'?
6575 |{return __GNU_cxx:__TO_xstring (std:vsnprintf、
|^~~~~~~~~μ A
| isprint
C:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\basical_string.h:在函数'std:::::string std:_cxx11::::to _string (float)'中:
C:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\basic_string.h:6584:50:错误:'vsnprintf'不是'sctd'的成员;您是指'isprint'?
6584 | return __GNU_cxx:__TO_xstring (std:vsnprintf、__n、
|^~~~~~~~~μ A
| isprint
C:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\basical_string.h:在函数'std:::::string std:_cxx11:::to _string (double)'中:
C:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\basic_string.h:6593:50:错误:'vsnprintf'不是'sctd'的成员;您是指'isprint'?
6593 |返回__GNU_cxx:__TO_xstring (std:vsnprintf、__n、
|^~~~~~~~~μ A
| isprint
C:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\basical_string.h:在函数'std:::::string std:_cxx11::::to _string (long double)'中:
C:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\basic_string.h:6602:50:错误:'vsnprintf'不是'sctd'的成员;您是指'isprint'?
6602 |返回__GNU_cxx:__TO_xstring (std:vsnprintf、__n、
|^~~~~~~~~μ A
|
//----------------------
C:\ti\BIOS_6_75_02_00\packages/GNU\Targets\arm\libs\install-native\arm-no-eabi\include\sys\reent.h:784:19:注意:先前声明为'_reent*_EXFUN'
784 | struct _reent *_EXFUN (__getreent、(void));
|^~~~~~μ A
在包含在 c:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\cwctype:50中的文件中、
从 c:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\locale_ntips.h:39、
从 c:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\bits\basic_ios.h:37、
从 c:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\ios:44、
从 c:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\ostream:38、
从 c:\ti\ccs920\ccs\tools\compiler\gcc-arm-none-eabi-9-2019-Q4-maj\arm-no-eabi\include\c++\9.2.1\iostream:39、
从 C:/Sandbox/BaseStation2018/Basestation7000/Common/System/PrintLog.cpp:3:
C:\ti\BIOS_6_75_02_00\packages/GNU\Targets\arm\libs\install-native\arm-none-eabi\include\wctype.h:45:15:错误:未在该范围内声明'towctrans'
45 | wint_t _EXFUN (towctrans、(wint_t、wctran_t));
|^~~~~~~~~μ A
C:\ti\BIOS_6_75_02_00\packages/GNU\Targets\arm\libs\install-native\arm-none-eabi\include\wctype.h:45:33:错误:"、"标记之前的预期主表达式
45 | wint_t _EXFUN (towctrans、(wint_t、wctran_t));
|^μ A
C:\ti\BIOS_6_75_02_00\packages/GNU\Targets\arm\libs\install-native\arm-none-eabi\include\wctype.h:45:44:错误:预期的主表达式早于")"令牌
45 | wint_t _EXFUN (towctrans、(wint_t、wctran_t));
|^μ A
C:\ti\BIOS_6_75_02_00\packages/GNU\Targets\arm\libs\install-native\arm-none-eabi\include\wctype.h:46:8:错误:声明"wint_t _EXFUN"冲突
46 | wint_t _EXFUN (towupper、(wint_t));
我们是否必须升级任何 SDK 库才能使用此编译器、或者我们是否在某个地方遗漏了任何编译标记?
感谢能帮助我们朝着正确方向发展的任何提示。
感谢您的持续支持、
Anders。
安德斯
AM5716的处理器 SDK 与 GCC 的版本不兼容。 该版本经过了完全集成、可与基于 Cortex M 和 R 的器件配合使用。 特别是我们的 SimpleLink SDK 的最新版本需要它。
Processor SDK 始终与相应的编译器捆绑在一起。 与其捆绑的编译器旨在与基于 Cortex A 的器件配合使用。
我将与 AM57x 的其他人进行循环、以进行更多评论。
此致、
John
感谢 John 的回复。
我想获得 AM57x 关于 gcc v9的一些反馈。
谢谢、
Anders。