gcc fails with spawn: No such file or directory

后端 未结 7 2225
醉梦人生
醉梦人生 2021-02-13 13:41

I downloaded Ruben’s build of Cygwin GCC.

However upon running it seems unable to compile any files

$ touch foo.c

$ gcc foo.c
gcc: error: spawn: No such file         


        
7条回答
  •  说谎
    说谎 (楼主)
    2021-02-13 14:15

    I had the same problem and solved it by installing the g++ package in addition to gcc-core

提交回复
热议问题