微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

错误 2:系统找不到指定的文件 “Cygwin Make”

如何解决错误 2:系统找不到指定的文件 “Cygwin Make”

我有一个包含 makefile、链接文件和其他一些 c 文件的项目。每当我尝试从我的 Windows 运行 make 命令时。我最终遇到了这个错误。我正在使用 cygwin 终端。该项目最初使用的是Linux环境。

process_begin: CreateProcess(NULL,arm-none-eabi-gcc -c -g -Os -I. -fno-common -
ffunction-sections -ffreestanding -fno-builtin -mthumb -mcpu=cortex-m7 -specs=na
no.specs -Wall -Winline -fstack-usage -DSTM32F769xx -mfloat-abi=hard -mfpu=fpv5-
d16 -fno-strict-aliasing -Wno-discarded-qualifiers stm32init.c -o stm32init.o,.
..) Failed.
make (e=2): The system cannot find the file specified.
make: *** [makefile:20: stm32init.o] Error 2

告诉我如何解决这个问题。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。