fort, vcc, and lk

news at bingvaxu.cc.binghamton.edu news at bingvaxu.cc.binghamton.edu
Mon Sep 26 23:51:24 AEST 1988


Reply-to: news at bingvaxu.cc.binghamton.edu


The following fortran program:

	integer a(500000)
	
	stop
	end

when compiled with the Vax/11 fortran compiler produces an executable
file of size 2038627.  (When compiled with f77 it produces an executable
of size 24576.)  The problem is lk rather than fort, since the object
file produced is of size 475.

Similar problems arise when using vcc.

After spending 3 hours reading the manuals, I am at a loss.  Can anyone
tell me how to make this linker do a NON-BRAIN-DAMAGED job of linking
programs with large arrays?????

Fred Sullivan				SUNY at Binghamton
Dept. Math. Sciences			Binghamton, NY 13903
					sullivan at marge.math.binghamton.edu
First you make a roux!



More information about the Comp.unix.ultrix mailing list