Hi,everyone

http://www.redhat.com/archives/shrike-list/2003-April/msg00069.html
http://fedoraproject.org/wiki/StackTraces
http://old-en.opensuse.org/Packaging/Debuginfo


This document said:"passing -g to gcc or g++". And "Note that the default 
CFLAGS and CXXFLAGS of the distro already contain -g, "


My question is :
I build souce code a.c with myself gcc/make configfile.
first time:      compile a.c with -O2,then get a1.bin
second time: compile a.c woth -O2 -g,then strip debug symbols.then get a2.bin


But i find a2.bin is slower then a1.bin.The performance of a2.bin is 5% slower.


Should a2.bin run as fast as a1.bin?(performance is same?)//Tomorrow i will 
provide the complete commands.
Can anyone give some advice?


I find that:rpmbuild run gcc one time with -g -O2,then get a.rpm and 
a.debuginforpm.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to