主题中讨论的其他器件:MSPM0L2228
使用 CCS Theia 编译任何"gcc"版本的基本示例时遇到此错误。 具体而言、这是 uart_echo_interrupts_standby_LP_MSPM0L2228_nortos_gcc 示例的错误
错误消息为:
加载插件:dlopen (/Users/coolson/ti/gcc_arm_none_eabi_9_2_1/bin/../lib/gcc/arm-none-eabi/9.2.1/liblto_plugin.so、0x0002):已尝试:'/Users/coolson/ti/gcc_arm_none_eabi_9_2_1/bin/../lib/gcc/arm-none-eabi/9.2.1/liblto_plugin.so (不是 mach-o 文件)、'/System/Volumes/Preboot/Cryptexes/OS/Users/coolson/ti/gcc_arm_none_eabi_9_2_1/bin/../lib/gcc/arm-none-eabi/9.2.1/liblto_plugin.so (无此类文件)、'/Users/coolson/ti/gcc_arm_none_eabi_9_2_1/bin/../lib/gcc/arm-none-eabi/9.2.1/liblto_plugin.so (不是 mach-o 文件)、'/Users/coolson/ti/gcc_arm_none_eabi_9_2_1/lib/gcc/arm-none-eabi/9.2.1/liblto_plugin.so (不是 mach-o 文件)、'/System/Volumes/Preboot/Cryptexes/OS/Users/coolson/ti/gcc_arm_none_eabi_9_2_1/lib/gcc/arm-none-eabi/9.2.1/liblto_plugin.so (无此类文件)、'/Users/coolson/ti/gcc_arm_none_eabi_9_2_1/lib/gcc/arm-none-eabi/9.2.1/liblto_plugin.so (不是 mach-o 文件)
看起来它正在尝试使用 TI 安装中的某个 GCC 版本、但加载该插件时出现问题。 我的系统上安装了 gcc:
~ gcc --版本
Apple clang 版本15.0.0 (clang-1500.3.9.4)
目标:arm64-apple-darwin23.3.0
Thread 模型:POSIX
InstalledDir:/Library/Developer/CommandLineTools/usr/bin
我只能使用自己的 gcc 吗? 如果是,如何?