[PATCH][Doc] Document that you need to use -fprofile-generate when linking also

Andrew Pinski pinskia@physics.uc.edu
Thu Apr 15 03:40:00 GMT 2004


Self explanatory really.  Just document that you need
-fprofile-generate or -lgcov when linking, just like
-fprofile-arcs.

OK?


Thanks,
Andrew Pinski

ChangeLog:

	* invoke.texi (-fprofile-generate): Add that
	you need to link with this option or use -lgcov.




Index: invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.443
diff -u -p -r1.443 invoke.texi
--- invoke.texi	9 Apr 2004 19:57:47 -0000	1.443
+++ invoke.texi	15 Apr 2004 03:38:02 -0000
@@ -4376,6 +4376,8 @@ Disabled at levels @option{-O}, @option{
  Enable options usually used for instrumenting application to produce 
profile usefull
  for later recompilation profile feedback based optimization.

+Link your object files with -lgcov or -fprofile-generate (the latter 
implies the former).
+
  The following options are enabled: @code{-fprofile-arcs}, 
@code{-fprofile-values}, @code{-fvpt}

  @item -fprofile-use



More information about the Gcc-patches mailing list