Source Paths in Sample Files

Chris Johns chrisj at
Tue Sep 12 12:36:09 UTC 2006

John Wood wrote:
> Greetings all,
> I am working on debugging a new BSP for a powerpc based board.  The tool
> I have is a windows based jtag emulator with a dedicated windows
> debugger.  I have found that my debugger does not locate the source
> files.  In the ELF file it appears that the source paths are referenced
> to the build directory.
> Is there an easy work around for getting my paths to be relative to my
> example directory.  I have built my image with both cygwin gcc and mingw
> gcc.  The only difference is that some of the includes from gcc libs are
> absolute windows paths with the mingw build.

What happens if you use an absolute path to configure ?

See 'GDB Cannot Find My Source Files' in this page:


More information about the users mailing list