Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

optimization with debug symbols. is that "-g -O3" or "-O3 -g" ?

$
0
0

 

Just wanted to verify what the precedence order is on compiler flags for the intel compilers is.

is the precedence that the last flag specified on the command line the one that wins?

I simply want to generate a binary that optimization level 3 "-O3" but that also includes debug symbols. "-g"

Will "-g -O3" do the trick?

Thanks

Rene

 

 

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 2583

Trending Articles