This is the mail archive of the
mailing list for the GCC project.
Re: Is there a way to specify profile data file directory?
On Sun, Apr 24, 2005 at 10:34:54AM +0100, Nathan Sidwell wrote:
> 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?
Yes, that will work. Is anyone working on this? If not, we can take a