This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

arm-eabi-gdb.exe failed to launch

Hi

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:

D:/install/gcc-arm-8.3-2019.03-i686-mingw32-arm-eabi/bin/arm-eabi-gdb.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
There is no name of the missing so. Is there any way to continue?
BR
/Li
Parents Reply Children
  • Ronan, 

    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.

    BR

    /Li

  • Ronan,

    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:

    gdb arm-eabi-gdb.exe

    Then issue following command in gdb shell

    ============

    b main

    r

    info sharedlibrary

    ============

    Please paste the output to me, thanks. That will tell which shared lib is missing.

    BR

    /Li