On Thu, Jun 14, 2007 at 04:17:04PM +0200, Albert Strasheim wrote:
On Thu, 14 Jun 2007, Matthieu Brucher wrote:
cc_exe = 'icc -g -fomit-frame-pointer -xT -fast'
Just some comments on that :
- in release mode, you should not use '-g', it slows down the execution of
Do you have a reference that explains this in more detail? I thought -g just added debug information without changing the generated code?
I had a peek at the icc manual. For icc, -g by itself implies -O0 and -fno-omit-frame-pointer, so it will be slower. However, -g -O2 -fomit-frame-pointer shouldn't be any slower than without the -g.
For gcc, -g does what you said.