tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Prefix substitution support for cpp(1)



On Sun, Oct 25, 2009 at 03:04:12PM -0500, David Young wrote:
> On Sun, Oct 25, 2009 at 05:24:19PM +0100, Joerg Sonnenberger wrote:
> > Hi all,
> > I have a patch in one of my working trees to allow changing the prefix
> > for __FILE__ based on prefix patterns. This allows building packages
> > without leaking the full path, so that changes src and obj location
> > don't alter build.
> *snip snip*
> > Would this be considered generally useful? In that case I will clean up
> > the patch and prepare some documentation for it.
> 
> Very useful!  Do you plan to tackle the debugger symbols, too?

I'm not sure if that can be expressed easily. It also something that
would be better served by a separate program to transform debug
information. This strings are not hard-coded into the programs after
all. So: not as part of this change.

Joerg


Home | Main Index | Thread Index | Old Index