【发布时间】:2013-10-29 04:38:11
【问题描述】:
我正在尝试在 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 Darcade
【问题讨论】:
-
那你根本就没有安装需要的交叉编译器。
标签: c++ c eclipse compilation arduino