am i right
From: funtoosh (a_gilotra_at_yahoo.com)
Date: 04/25/04
- Next message: Juha Laiho: "Re: linux bug list/history/mailling list?"
- Previous message: mjt: "Re: Two small problems with Suse 8.1 and 9.0"
- Next in thread: Jean-David Beyer: "Re: am i right"
- Reply: Jean-David Beyer: "Re: am i right"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Apr 2004 23:45:08 -0700
Hi
1.
I compile my source code using gcc 2.95.3 and I use "-g" option along with
O2 ( optimization flag ). I then "strip" the executable and give it a run.
2.
And then I compiled same source code _without_ "-g" option and "strip" the
executable (even though not useful) and give it a run.
I found that performance of the code is better when I dont use "-g".
How is this possible ?
Does -g hampers the -O2 level of optimations ?
Machine : RH9
Kernel : 2.4.20-20.x
-A
- Next message: Juha Laiho: "Re: linux bug list/history/mailling list?"
- Previous message: mjt: "Re: Two small problems with Suse 8.1 and 9.0"
- Next in thread: Jean-David Beyer: "Re: am i right"
- Reply: Jean-David Beyer: "Re: am i right"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|