Calling f77 routines from C: HELP!
Jason D. Zions
jdz at wucec2.UUCP
Mon Jan 27 11:32:50 AEST 1986
The "preconnection" of units 5 and6 is done by the f77 runtime startup.
This runtime statup routine is NOT included if you use a C main and link
with the cc command.
If you call your C main routine MAIN_(argc,argv,...) and do your final
linking with f77, things should work better. The approach I took was to write
a trivial f77 main program which called the real main (written in C).
--
Jason D. Zions jdz at wucec2
Center for Engineering Computing ...!{seismo,cbosgd,ihnp4}
Washington University in St. Louis !wucs!wucec2!jdz
Party of the first part disclaims any and all claims made by said party.
More information about the Comp.unix
mailing list