Portability of .gcda files for PGO

Scott Meyers NeverRead@aristeia.com
Wed Jun 29 14:22:00 GMT 2011


Suppose I want to build an instrumented executable (i.e., build with 
-fprofile-generate) on my development machine, copy that executable over 
to a testing machine, run the program and collect the instrumentation 
data there (.gcda files), then copy the data back to my development 
machine for a final build (with -fprofile-use).  Can I do that?

Thanks,

Scott



More information about the Gcc-help mailing list