c++ - 调试时找不到 "arm-elf-g++"

标签 c++ c eclipse compilation arduino

我正尝试在 Eclipse 中为我的 Arduino (Teensy) 开发一个小型 C++ 程序。

我的问题是当我编译它时出现以下错误:

make all 
Building file: ../src/main.cpp
/bin/sh: 1: arm-elf-g++: not found
make: *** [src/main.o] Fehler 127
Invoking: ARM Linux GCC C++ Compiler (GNUARM)
arm-elf-g++ -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I"/home/darcade/workspace/TeensyCore3/src" -Os -ffunction-sections -fdata-sections -Wall -Wa,-adhlns="src/main.o.lst" -fno-exceptions -fno-rtti -c -fmessage-length=0 -MMD -MP -MF"src/main.d" -MT"src/main.d" -o "src/main.o" "../src/main.cpp"

21:17:05 Build Finished (took 124ms)

我在我的电脑上搜索“arm-elf-g++”,但我没有找到任何东西......

我正在我的 PC 上运行 Debian 测试。

希望你能帮助我。

LG 达卡德

最佳答案

你有哪个Teensy?从错误来看,您似乎正在尝试为 ARM Cortex (Teensy 3.0) 进行编译。如果您还没有,请下载编译器:http://www.pjrc.com/teensy/td_download.html然后确保已安装的编译器(尤其是 arm-elf-g++)在您的 $PATH 中。

关于c++ - 调试时找不到 "arm-elf-g++",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19481781/

相关文章:

c++ - 写文件过程崩溃!关闭

c - 在C中检查正在运行的进程的变量

Android编程 "no crunch"错误

eclipse - 无法在 Windows 中使用 egit 执行 git clone Linux 内核存储库

eclipse - 度量插件 Eclipse 不工作

c++ - 完美转发构造函数和删除构造函数

c++ - 构造 boost::unordered_map 时指定最小桶数

c++ - 可以使用哪些方法在std::vector和pmr::vector容器之间创建接口(interface)?

c - 如何配置 c.vim 以便它可以在 Powershell Vim 中编译?

c++ - 传感器数据收集 C 守护进程困境