Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uicsrd.csrd.uiuc.edu!jaxon From: jaxon@uicsrd.csrd.uiuc.edu Newsgroups: comp.lang.fortran Subject: Re: RFC: Driver actions Message-ID: <47900013@uicsrd.csrd.uiuc.edu> Date: 17 Oct 89 09:40:11 GMT References: <1270007@hpcllmv.HP.COM> Lines: 20 Nf-ID: #R:hpcllmv.HP.COM:1270007:uicsrd.csrd.uiuc.edu:47900013:000:713 Nf-From: uicsrd.csrd.uiuc.edu!jaxon Oct 16 11:08:00 1989 /* jbc@hpcllmv.HP.COM writes: */ > In the Unix world of Fortran compiler, almost all f77 drivers have the >following two options: > -c Suppress loading and produce `.o' files for each source file. > -o outfile Name the output file from the linker outfile instead of a.out > [What if you use both?] > If you feel that the output file should be named outfile, then what [about] > multiple source files? > f77 -c -o outfile prog1.f prog2.f prog3.f I'd expect the driver to produce one file of relocatable object code, called "outfile", containing the code for prog1.o, prog2.o, and prog3.o. The "-r" option of ld(1) would be used here. Greg Jaxon Univ. of Ill. Center for Supercomputing R&D