This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Fortran compiler in GCC--- is there a 'g77' being generated from 4.0.2?
- From: Brian Dessent <brian at dessent dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 10 Jun 2006 20:19:43 -0700
- Subject: Re: Fortran compiler in GCC--- is there a 'g77' being generated from 4.0.2?
- References: <BAY105-F33CCC0E536B675242AA5BC08E0@phx.gbl>
sean yang wrote:
> When I compile from GCC4.0.2 source, I generated an executable named
> 'gfortran'.
> My quetion is whether this is the only executable of Fortran compiler? i.e.,
> it replaces 'g77' and 'g95' to compile fortran 77 and fortran 90
> code?---'g77' and 'g95' are not generated from this source?
I suggest you read the manual and the GCC wiki. All of these questions
are answered.
http://gcc.gnu.org/wiki/GFortran
http://gcc.gnu.org/wiki/TheOtherGCCBasedFortranCompiler
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gfortran/Getting-Started.html#Getting-Started
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gfortran/GFORTRAN-and-G77.html#GFORTRAN-and-G77
> Can I somehow make the code compiled by gfortran compatible to the code
> compiled by g77? Because symbol name in lots of libraries are g77
> compitable. Here is a concrete example,
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gfortran/Code-Gen-Options.html#index-g_t_0040option_007b_002dff2c_007d-option-141
Brian