[comp.sys.sgi] cc and f77 yield different a.out ?

jit@SLIC.CELLBIO.DUKE.EDU (Jit Keong Tan) (11/26/90)

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 ?

--------------------------------------------------------
Jit Keong Tan     | internet: jit@slic.cellbio.duke.edu
(919) 684-8098    | bitnet  : tan00001@dukemc.bitnet
--------------------------------------------------------
U.S. Mail:
Duke University Medical Center
Department Of Cell Biology
Box 3709
Durham, NC 27710

calvin@dinkum.wpd.sgi.com (Calvin H. Vu) (11/28/90)

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."