How can I install gdb using mingw-get?

Mar 18, 2022 at 9:32am
I faced a problem: I cannot install gdb with command mingw-get install gdb. I googled for it in these words:

C:\MinGW/bin/gdb.exe

cannot install gdb with mingw-get

but no use.

It throws me this msg:

install: gdb-7.6.1-1-mingw32-bin.tar.lzma
installing gdb-7.6.1-1-mingw32-bin.tar.lzma
mingw-get: *** ERROR *** D:\Software\MinGW\/bin/gdb.exe: extraction failed
mingw-get: *** ERROR *** unexpected end of archive reading content record
mingw-get: *** ERROR *** unexpected end of archive reading header record

Could you please help me solve this problem (help me install gdb)?
Last edited on Mar 18, 2022 at 9:55am
Mar 18, 2022 at 1:10pm
Somebody else might have already had this problem.
https://stackoverflow.com/questions/22301176/failing-to-install-mingw-mingw-get-gui-error-unexpected-end-of-archive
Does following the advice in SO thread help at all?

_____________________

If still nothing works after following the suggested solution ideas there, you could always try a pre-packaged distro like https://nuwen.net/mingw.html
Last edited on Mar 18, 2022 at 1:11pm
Mar 20, 2022 at 2:17am
mingw-get is from the old depreacted/discontinued "mingw.org" project.

Even the web-site http://mingw.org/ is down now.

You really want to use the follow-up project Mingw-w64 these days!

There are various ways to install Mingw-w64, but I highly recommend to go with MSYS2:
https://www.msys2.org/

Once you have MSYS2, just type "pacman -S gdb" in order to install GDB.
Last edited on Mar 20, 2022 at 12:09pm
Topic archived. No new replies allowed.