Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!ltuxa!we53!busch!wucs!wucec2!jdz From: jdz@wucec2.UUCP (Jason D. Zions) Newsgroups: net.unix Subject: Re: Calling f77 routines from C: HELP! Message-ID: <1296@wucec2.UUCP> Date: Sun, 26-Jan-86 20:32:50 EST Article-I.D.: wucec2.1296 Posted: Sun Jan 26 20:32:50 1986 Date-Received: Tue, 28-Jan-86 05:48:35 EST References: <1930@uwmacc.UUCP> Reply-To: jdz@wucec2.UUCP (Jason D. Zions) Distribution: net Organization: Wash. U. Center for Engineering Computing Lines: 12 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@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.