Re: Fortran compiler in GCC--- is there a 'g77' being generated from 4.0.2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux