I am using Eclipse on a Windows system (64-bit) for C++ code and the compiler is GCC/G++. I have created a .exe and in the end it is showing as amd64/le, and I am not able to debug. When I am trying to debug, I am getting the error as
Error while launching command: gdb --version CreateProcess error=2, The system cannot find the file specified
You can have a look at this link . It helped me solve this problem just now,
The steps to follow are:
(Mostly it should be in something like C:\\Min_GW
).
AMD64/LE shows architecture / endianness. In your case architecture is X86-64 alias AMD64 and endianness is little (fixed on x86[64]).
As for your error message. It is possible that you did not install GDB when you installed your toolchain. Verify that you have it installed.
It is also possible that you have bumped into this bug . Workaround is to check your path and remove any instances of ;; (like for example in c:\\;;d:\\, which is valid for most uses, but eclipse/cdt has issues with it).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.