* config/sh/sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Define
[official-gcc.git] / libgfortran / fmain.c
blobec621256df1b2d0f2597f0fce2f75247b1710b32
1 #include "config.h"
2 #include "libgfortran.h"
4 /* The main Fortran program actually is a function, called MAIN__.
5 We call it from the main() function in this file. */
6 void MAIN__ (void);
8 /* Main procedure for fortran programs. All we do is set up the environment
9 for the Fortran program. */
10 int
11 main (int argc, char *argv[])
13 /* Set up the runtime environment. */
14 set_args (argc, argv);
16 /* Call the Fortran main program. Internally this is a function
17 called MAIN__ */
18 MAIN__ ();
20 /* Bye-bye! */
21 return 0;