This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Profile-directed feedback and remote testing


Joe Buck wrote:

That wouldn't have saved me in the case described above, as the pathnames
are already set in the executable.  A *runtime* way of altering the
locations of the .gcda files would be nice to have.  For example, we could
have something like

GCDA_PATH_PREFIX

which, if set, would be prepended to the pathnames of the .gcda files.
We could even arrange to create needed directories on demand when
creating new .gcda files when this option is set.

I've had contact with a user who had exactly this (and other) issues, and had worked up some pre 3.4 patches. He was going to work out something along Joe's suggestion for the current sources.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]