|
From: Hans-Bernhard B. <br...@ph...> - 2005-11-23 15:42:31
|
Lars Hecking wrote:
>>Anyway: if you're running the CVS version, you're supposed to have a
>>checked-out copy of the sources around, corresponding to the binary
>>being used. And even if you don't, you can still check the RCS $Id
>>strings embedded in the binary ('ident gnuplot') to find out.
>
>
> I think this (and "strings `which gnuplot` |grep '$Id:'") only works
> with executables built without optimisation.
Optimization should have little to do with it --- I never build without
optimization, and ident always worked just fine.
Our source files go quite a bit out of their way to make sure those
ident strings are hard to optimize out, as a side effect of making them
acceptable to picky compilers. Well, at least I don't think I've seen
any optimizer yet that dared strip those things.
|