cygwin g++ produces no output

后端 未结 3 2026
北海茫月
北海茫月 2021-01-16 06:15

I just installed g++ from cygwin, when I try to compile a C++ file I am not getting any executable produced by the compiler, see example below. What\'s going wrong?

3条回答
  •  佛祖请我去吃肉
    2021-01-16 06:57

    For others who end up here with g++ producing no output.

    I solved it by running cygcheck -s in the cygwin terminal window. This checks (amongst others) for multiple instances of cygwin1.dll. In my case WinAVR was causing problems, uinstalling did the the trick

    This link was also helpful in getting Cygwin to run properly: http://thehacklist.blogspot.nl/2009/04/cygwin-ls-command-not-found.html

提交回复
热议问题