------- Comment #1 from burnus at gcc dot gnu dot org  2009-02-13 14:57 -------
s/MAIN_/MAIN__/g

 * * *

> Intel's solution is to link "for_main-o", but that is not as elegant as for
> "ifort *.o" one needs to specify "-nofor-main" if there is a non-fortran C

The last line should read: 'if there is a non-fortran "main()"'.

  * * *

Regarding MAIN__:
- gdb assumes that this is the main function for Fortran programs; as gfortran
now sets "main_program_symbol" this might be not an issue.
- For stepping through the code, having a separate MAIN_ avoids that the user
enters libgfortran for the initialization, which can be a bit confusing.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39178

Reply via email to