[M3devel] FW: put full paths to source files in debug info]

Mika Nystrom mika at async.caltech.edu
Fri Feb 29 22:19:43 CET 2008


"Rodney M. Bates" writes:
...
>People can and often do move executables to different machines and also
>sometimes move source trees around on the original machine.  Using simple
>file names within an executable (of which there is always exactly one)
>is invariant to all this, and a lot shorter to type/read.
...

Arbitrary paths are also not trustworthy on many Unix systems that run
automounters.  The path you get from getcwd is likely not to be permanently
accessible on those.  (You access the files via a different path.)

     Mika



More information about the M3devel mailing list