This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: trying to use -fcheck=all option with fortran in LINUX (bash system) and will not recognize option


On 04/05/2017 22:52, Richard Gustafson wrote:

> I am trying to compile a fortran (f90) code and trying to debug with
> an array and subroutine check to see if variables are not lining up
> correctly.
>
> If I use
>
> 	gfortran -fcheck=all fort1.exe fort1.f90
>
> where fort1.f90 contains all of the code, it returns the following
> message and does not compile:
>
> 	f951: error: unrecognized command line option "-fcheck=all"

Check the output of

	gfortran -v

Also check the output of

	gfortran -v -Wall -fcheck=all fort1.f90

Regards.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]