How to disable "optimization" in Linux?

How to disable "optimization" in Linux?

Hi allI am working on my Fortran program using Intel Visual Fortran 11.1.038.I diabled the "optimization" for "Release" option in Visual Studio by usingProject-->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 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

Kevin,

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

Regards!
Dmitry

DmitryIt works!Thanks a lot!Kevin

登陆并发表评论。