问题
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?
回答1:
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.
In reality, I'd recommend to just follow the Fortran standard and forget the idea of case sensitivity when programming Fortran.
来源:https://stackoverflow.com/questions/5436463/how-to-compile-in-gfortran-in-case-sensitive-mode