Xref: utzoo comp.unix.wizards:12999 comp.lang.fortran:1547 Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!bucasb!mike From: mike@bucasb.bu.edu (Michael Cohen) Newsgroups: comp.unix.wizards,comp.lang.fortran Subject: Fortran Environment C calls-- Query Message-ID: <596859157.11202@bucasb.bu.edu> Date: 30 Nov 88 02:12:37 GMT Reply-To: mike@bucasb.UUCP (Michael Cohen) Organization: Boston University Center for Adaptive Systems Lines: 15 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.