How to get gdb working with Eclipse CDT under windows (fails to find source code)

前端 未结 5 2058
孤城傲影
孤城傲影 2021-02-04 10:03

I installed cygwin (the latest 1.7.xx?), and then installed eclipse cdt (Juno).

When I tried to build a hello world project, despite eclipse identifying that cygwin was

5条回答
  •  再見小時候
    2021-02-04 10:14

    I use MinGW + CDT, and it is giving me great satisfaction. I installed it many times and never had any disagreement. No much to configure than what you did with cygwin. Download the Eclipse for C/C++ developers (probably what you did) to get CDT (MinGW Tool Chain -> gdb + gcc) directly operational. Set your \\MinGW\bin\ directory into your PATH and you should be good to go...

    Note : Like Cygwin, MinGW provides a Linux-like Shell.

    For MinGW-64, ready-made builds are a little bit more difficult to locate. See here.

提交回复
热议问题