Re: Tweaking the pathname for __FILE__

2010-11-05 Thread Ian Lance Taylor
Paul Koning writes: > It occurred to me that this might be an issue others have run into. > Would it be useful for gcc to provide some way to have the __FILE__ > value trimmed? Perhaps something analogous to the -p switch in the > "patch" utility? I think it is useful to have a way to set __FIL

Re: Tweaking the pathname for __FILE__

2010-11-05 Thread Andreas Schwab
Paul Koning writes: > The full pathname in __FILE__ is sometimes more than is desirable. For > example, if multiple people may be building software in different working > directories, you end up with binaries that have lots of differences in them > that obscure "real" changes. Or it may be t

Tweaking the pathname for __FILE__

2010-11-05 Thread Paul Koning
The full pathname in __FILE__ is sometimes more than is desirable. For example, if multiple people may be building software in different working directories, you end up with binaries that have lots of differences in them that obscure "real" changes. Or it may be that rebuilding "the bits we ha