Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 64 位 Windows 上使用 cygwin,但是在编译 makefile 时出现此错误
/bin/sh: -c: line 0: syntax error near unexpected token `('
我应该怎么办 ?
只是猜测:您在 Makefile 中使用了 bashisms,但没有设置 shell(/bin/sh报告错误)。只是状态
/bin/sh
SHELL := /bin/bash
在 Makefile 的顶部。