How to disable "optimization" in Linux?

How to disable "optimization" in Linux?

Bild des Benutzers watercube

Hi all I am working on my Fortran program using Intel Visual Fortran 11.1.038. I diabled the "optimization" for "Release" option in Visual Studio by using Project-->Properties-->Fortran-->Genetral-->OptimizationDisable (/Od)
Do you know how could I do this in Linux environment? What should I do for the make file? Thanks a lot! Kevin

3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Dmitry Kuzmin (Intel)

Kevin,

You need to add '-O0' to your command line.

Regards!
Dmitry

Bild des Benutzers watercube

Dmitry It works! Thanks a lot! Kevin

Melden Sie sich an, um einen Kommentar zu hinterlassen.