GCC on Cygwin coexisting with MinGW

前端 未结 5 1086
Happy的楠姐
Happy的楠姐 2021-02-04 18:58

It is possible to have two versions of GCC to coexist: the native windows MinGW version and the cygwin linux version? Things get problematic when on Cygwin the system tries to c

5条回答
  •  清歌不尽
    2021-02-04 19:29

    Psychic debugging suggests you have one or both in your global path. Take both out of your global path (gcc should yield "bad command or file name" or similar run directly from cmd.exe) and set up the shortcuts so they load the proper environment for each.

提交回复
热议问题