[comp.lang.fortran] Fortran Environment C calls-- Query

mike@bucasb.bu.edu (Michael Cohen) (11/30/88)

Has anybody written a program which is written in 4.3 BSD F77, and
simply passes control to a C main program.  Preserving the C argument
structure.  What I really wish to do is to start up in the fortran run
time environment which is needed by some fortran subroutines I call
but, passes argc, argp to a top level procedure.  I have in mind something
like

c fortran routine  or C routine loaded with fortran crt0.o
 .....
......  magic
......
...... set up argc argp
call main_(argc,argp)

Thanks much.