Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!sgi!shinobu!odin!dinkum!calvin From: calvin@dinkum.wpd.sgi.com (Calvin H. Vu) Newsgroups: comp.sys.sgi Subject: Re: cc and f77 yield different a.out ? Message-ID: <1990Nov27.175706.26371@odin.corp.sgi.com> Date: 27 Nov 90 17:57:06 GMT References: <9011261340.AA02612@slic.cellbio.duke.edu> Sender: news@odin.corp.sgi.com (Net News) Organization: Silicon Graphics, Inc. Mountain View, CA Lines: 24 In <9011261340.AA02612@slic.cellbio.duke.edu> jit@SLIC.CELLBIO.DUKE.EDU (Jit Keong Tan) writes: | I tried to compile a Fortran program using cc and f77 | drivers, they yield both different a.out files. | Results are the same though. | | Does anyone know why ? If you use cc driver, the standard libc.a library will be used, if you use f77, libmpc.a will be used so there will be a difference of about 70K (too lazy to confirm here :-)) in size between the two a.out. That's my best guess. Compiling with -v and the linker will tell you exactly which libraries get linked. | | -------------------------------------------------------- | Jit Keong Tan | internet: jit@slic.cellbio.duke.edu | (919) 684-8098 | bitnet : tan00001@dukemc.bitnet | -------------------------------------------------------- - calvin -- ----------------------------------------------------------------------------- Calvin H. Vu | "We are each of us angels with only one Silicon Graphics Computer Systems | wing. And we can only fly embracing calvin@sgi.com (415) 962-3679 | each other."