On 20 Mar 2009, at 19:54, Paul Ishenin wrote:

Jonas Maebe wrote:
In trunk/r12933 you can now force the compiler to always store absolute path for include files using -gostabsabsincludes. See the svn comment for why it's not the default (gcc also never does this, you can't even force it to do that). There is no way to specify a separate base directory for an include file in stabs, as opposed to for the main source file.

The reason that gdb previously already found an absolute path for some include files, was probably that they were located in the same directory as the main unit file.
Sorry, for me it is somehow strange that this works different:

{file="C:/programming/fpc/rtl/i386/i386.inc",fullname="C:/ programming/fpc/rtl/i386/i386.inc"} and
{file="./include/messagedialogs.inc"}

main unit file is located in
C:/programming/mytest/0.9.27/SafeCall/project1.lpr

Did you recompile everything with -gostabsabsincludes? And did it change anything at all?


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to