better handle Ada programs and multitasking.
It is currently supported on the following platforms
-* linux x86/x86_64
-* windows x86
+* Linux x86/x86_64
+* Windows x86/x86_64 (without PIE support)
In order to profile a program using ``gprof``, several steps are needed:
be profiled; if you need to profile your whole project, use the ``-f``
gnatmake switch to force full recompilation.
+Note that on Windows, gprof does not support PIE. The ``-no-pie`` switch
+should be added to the linker flags to disable this feature.
+
+
.. _Program_execution:
@itemize *
@item
-linux x86/x86_64
+Linux x86/x86_64
@item
-windows x86
+Windows x86/x86_64 (without PIE support)
@end itemize
In order to profile a program using @code{gprof}, several steps are needed:
be profiled; if you need to profile your whole project, use the @code{-f}
gnatmake switch to force full recompilation.
+Note that on Windows, gprof does not support PIE. The @code{-no-pie} switch
+should be added to the linker flags to disable this feature.
+
@node Program execution,Running gprof,Compilation for profiling,Profiling an Ada Program with gprof
@anchor{gnat_ugn/gnat_and_program_execution id23}@anchor{175}@anchor{gnat_ugn/gnat_and_program_execution program-execution}@anchor{176}
@subsubsection Program execution