User forums > Help

CB 17.12 and GCC 5.3.0 compiles fine but debugger shows "no disk in drive" error

<< < (2/2)

jlastofka:
Thanks for the tips. Starting from your info I got it working but it was somewhat difficult.

I see now there are several downloads of the CB installer and I had probably used one without GCC, so it didn't update mine. Selecting another got me the new GCC, but CB couldn't see it. Poking around in the settings dialogs I found where to set that, but it was only partially successful. It got the compiler working but the debugger kept failing to launch. It was looking for gdb.exe and I didn't have one. I only had gdb32.exe.

Reading some text info from the TDM GDB download I saw them talking about making a renamed copy of gdb32.exe as gdb.exe. That sounds fishy but I tried it and all seems to be working now. I don't know whether that's a time bomb waiting for later.....     I'm on a 64 bit Windows7 system.

Anyway, I really appreciate you giving me the clues that helped me sort this out.

jlastofka:
Further important update. It only worked briefly and then started to fail to find/launch an executable for the debugger (I'm pretty sure that's what it was referring to.)

I found the real 64 bit GCC from Sourceforge and a very helpful detailed setup instructions page for loading it into CodeBlocks here:

https://medium.com/@yzhong.cs/code-blocks-compile-64-bit-under-windows-with-mingw-w64-79101f5bbc02

Now I think things are really right......

Navigation

[0] Message Index

[*] Previous page

Go to full version