Fortran Environment C calls-- Query
Michael Cohen
mike at bucasb.bu.edu
Wed Nov 30 12:12:37 AEST 1988
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.
More information about the Comp.unix.wizards
mailing list