Path: utzoo!attcan!uunet!cos!hadron!decuac!felix!info-ultrix
From: news@bingvaxu.cc.binghamton.edu
Newsgroups: comp.unix.ultrix
Subject: fort, vcc, and lk
Message-ID: <60445@felix.UUCP>
Date: 26 Sep 88 13:51:24 GMT
Sender: info-ultrix@felix.UUCP
Reply-To: news@bingvaxu.cc.binghamton.edu
Organization: Dept. of Mathematical Sciences, SUNY at Binghamton
Lines: 25
Approved: zemon@felix.UUCP
Reply-Path:

Reply-to: news@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@marge.math.binghamton.edu
First you make a roux!