This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: trying to use -fcheck=all option with fortran in LINUX (bash system) and will not recognize option
- From: Mason <slash dot tmp at free dot fr>
- To: Richard Gustafson <gustafson_rm at tamu dot edu>
- Cc: GCC help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 5 May 2017 11:42:03 +0200
- Subject: Re: trying to use -fcheck=all option with fortran in LINUX (bash system) and will not recognize option
- Authentication-results: sourceware.org; auth=none
- References: <CB6F6836-9980-4954-91E2-00DA2853C042@email.tamu.edu>
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.