Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site uwai.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!wjh12!harvard!seismo!uwvax!uwai!tom From: tom@uwai.UUCP Newsgroups: net.lang.f77 Subject: calling _printf() from f77 Message-ID: <146@uwai.UUCP> Date: Fri, 26-Oct-84 06:19:49 EST Article-I.D.: uwai.146 Posted: Fri Oct 26 06:19:49 1984 Date-Received: Sun, 28-Oct-84 05:57:07 EST Distribution: net Organization: U of Wisconsin CS Dept Lines: 13 Does anyone out there know how to call _printf() from f77 and the hazards involved with this? The f77 compiler seems to both append *and* prepend an underscore to external subroutine names, so printf becomes _printf_ rather than _printf. This means that a -lc on the ld call won't get it for you. Anyone got a cure? -- Tom Christiansen University of Wisconsin Computer Science Systems Lab ...!{allegra,heurikon,ihnp4,seismo,uwm-evax}!uwvax!tom tom@wisc-crys.arpa