This is the mail archive of the gcc-patches@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]

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


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


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