Error while compiling through cygwin

家住魔仙堡 提交于 2021-02-11 05:13:03

问题


I am using cygwin for 64 bit Windows but while compiling a makefile I end up with this error

/bin/sh: -c: line 0: syntax error near unexpected token `('

What should I do ?


回答1:


Just guessing: you use bashisms in your Makefile, but don't set the shell (/bin/sh reports the error). Just state

SHELL := /bin/bash

at the top of the Makefile.



来源:https://stackoverflow.com/questions/31851661/error-while-compiling-through-cygwin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!