Bug 57115 - Enabling gprof profile information generation does not work
Summary: Enabling gprof profile information generation does not work
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-11 02:04 UTC by Chris Thompson
Modified: 2003-04-11 17:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Thompson 2003-04-11 02:04:25 UTC
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.
Comment 1 Amilcar do Carmo Lucas 2003-04-11 17:36:43 UTC
Fixed in CVS by Alexander Dymo <cloudtemple at mksat dot net>