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: Is there a way to specify profile data file directory?


H. J. Lu wrote:
When -fprofile-arcs is used, the directory of profile data is fixed
to the build directory. If I want to run the binary on a different
machine, I have to create the same directory, which may not be very
easy. Is this intentional? Can we have have an option to specify the
different dirctory or to use the current dirctory at the run-time?

this has come several times recently. The consensus is some environment variable to be prepended to paths inside libgcov. Not a command line switch at compile time.

would that suit you too?

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]