[Bug 57115] New: Enabling gprof profile information generation does not work

Chris Thompson chris at hypocrite.org
Fri Apr 11 02:05:05 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=57115     
           Summary: Enabling gprof profile information generation does not
                    work
           Product: kdevelop
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: chris at hypocrite.org


Version:           Gideon 3.0.0a4 (using KDE KDE 3.1.1)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.2 
OS:          Linux

>From main menu with a C++ project, do the following:

Project --> Project Options --> Configure Options --> C++ --> [...] on the Compiler Flags line.

In the General tab, enable the 'Generate extra code to write profile information for gprof' in the Output section.

Expected result:
-pg would be added to compiler options textbox

Actual result:
-fg is added to compiler options textbox.  This prevents the configure step from running successfully.

Suggested solution:
Change the behavior.  Make it add -pg instead of -fg.




More information about the KDevelop-devel mailing list