[fpc-devel] How to search units reported by gdb? (fpc and mseide devels please participate)

Marco van de Voort marcov at stack.nl
Fri Feb 27 15:55:44 CET 2009

In our previous episode, Jonas Maebe said:
> In case of DWARF, the path is split in two parts: a base directory,  
> and then paths to files relative to this base directory. That makes it  
> easier to specify full paths and still be portable to other file  
> system layouts, I guess (although I don't know how gdb handles this  
> either).

Hmm. But both C and FPC allow to specify multiple source/include paths, and
binaries can be crafted from objects from different runs.

The only way I can see this working is to use absolute paths and let the
linker normalize this to the longest common directory or so?

More information about the fpc-devel mailing list