0 Replies Latest reply: Aug 22, 2014 5:53 PM by hemanth RSS

Debug configuration for arm linux in DS-5

hemanth Bit

Hi all,


I have created Project in DS-5, where in need to link different static library to build my application.


1. First problem i am facing in DS-5 GUI is, I can't able to like the static library to my application with DS-5 tool. even after giving both relative and absolute path

     arm-linux-gnueabihf-gcc -marm -mcpu=cortex-a7 -mfpu=neon  -lm -o "SampApp"  ./main.o ./waveio.o   modSrc/lib/modLib.a

     arm-linux-gnueabihf-gcc.exe: error: modSrc/lib/modLib.a: No such file or directory

     make: *** [SampApp] Error 1


-> if i use commend prompt i can able to Build  because i can able to correct the library path

    arm-linux-gnueabihf-gcc -marm -mcpu=cortex-a7 -mfpu=neon  -lm -o "SampApp"  ./main.o ./waveio.o   ../../modSrc/lib/modLib.a


2. Linux gdb Debugger i am getting following error. while loading sample application for Debugging

   Preparing the debug session

   Error launching gdbserver

   gdbserver /dev/ttyAMA3 SampApp

  Process SampApp created; pid = 1184

  Cannot exec SampApp: No such file or directory.

  Child exited with status 127

  No program to debug.  GDBserver exiting.


Even after taking care of file is present in the following directory.


3. please let me how to solve this problem