I use the cross-compiler gcc-arm-8.3-2019.03-i686-mingw32-arm-eabi under cygwin. Gcc works fine. But when I tried to lanuch gdb, I got the following error:
From the release notes here, I see this comment:
> Toolchains dedicated for i686-mingw32 host require mingw-w64 library, a complete runtime environment for GCC.It might be also useful to force LD_LIBRARY_PATH to point to this location.
Thank you for your response. I just got the email notice, :(. From the Link, https://mingw-w64.org/doku.php/download, it seems the cygwin only support gcc to 5.0.4. But for my case, gcc works fine. The problem only rise when I run gdb. Have you successfully lunch the gdb tool in gcc-arm-8.3-2019.03-i686-mingw32-arm-eabi packet?
Anyway, I am installing the mingw64-* libs/devel packets now. I will check if that is the problem.
If you can run the gcc-arm-8.3-2019.03-i686-mingw32-arm-eabi/bin/arm-eabi-gdb.exe, would you please help me with the following test?
In you cygwin, issue following command:
Then issue following command in gdb shell
Please paste the output to me, thanks. That will tell which shared lib is missing.
I was able to reproduce the problem, I think the cause is a missing python27.dll that is needed by gdb but not gcc.
I installed Python 2.7 and it resolved the problem.
The one I used was:
Python 2.7.6 Windows Installer (Windows binary -- does not include source)
View all questions in Arm Compilers forum