在敏感模式下如何编译gfortran? [英] How to compile in gfortran in case Sensitive mode?

查看:182
本文介绍了在敏感模式下如何编译gfortran?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用区分大小写来编译 gfortran 中的fortran 90/95代码?
我搜查了手册,但找不到任何标志或选项,我可以给gfortran使其区分大小写。
我希望大写和小写的变量不同。

Is it possible to compile a fortran 90/95 code in gfortran with Case Sensitive? I searched the manuals, but couldn't find any flag or option I can give to gfortran to make it case sensitive. I want to have variables in upper case and lower case to be different.

所以,有可能吗?

So, is it possible?

推荐答案

没有这样的标志或选项。当然,gfortran是免费软件,欢迎您下载源代码并创建自己的特定版本。

There is no such flag or option. Of course, gfortran being free software, you're welcome to download the source code and create your own version with that particular feature.

实际上,我建议只需遵循Fortran标准,并在编程Fortran时忘记区分大小写的想法。

In reality, I'd recommend to just follow the Fortran standard and forget the idea of case sensitivity when programming Fortran.

这篇关于在敏感模式下如何编译gfortran?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆