home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 20013 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.7 KB

  1. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!news.cs.indiana.edu!arizona.edu!telcom.arizona.edu!leonard
  2. Newsgroups: comp.os.vms
  3. Subject: Re: ballooning EXE size
  4. Message-ID: <1992Dec29.120220.4182@arizona.edu>
  5. From: leonard@telcom.arizona.edu (Aaron Leonard)
  6. Date: 29 Dec 92 12:02:19 MST
  7. Reply-To: Leonard@Arizona.EDU
  8. References: <01GSUT89O7JK000J0I@XRT.UPENN.EDU>
  9. Distribution: world,local
  10. Organization: University of Arizona Telecommunications
  11. Nntp-Posting-Host: penny.telcom.arizona.edu
  12. Lines: 23
  13.  
  14. In article <01GSUT89O7JK000J0I@XRT.UPENN.EDU>, BUHLE@XRT.UPENN.EDU ("E. Loren Buhle, Jr.
  15. [-662-3084]", 215 writes:
  16.  
  17. | I have a problem with the size of an executable going from ~1,000 blocks to 
  18. | something on the order of 75,000 blocks. 
  19. | What am I doing? I am charged with writing a small interface to some existing 
  20. | FORTRAN code. I have no control over the existing FORTRAN code and can only say 
  21. | that it makes extensive use of VAX-FORTRAN Structure/record/map statements. I 
  22. | don't own the large body of FORTRAN code and really don't relish the thought of 
  23. | rewriting it...
  24. | When the FORTRAN interface stub subroutines (e.g. subroutines that print a "not 
  25. | implemented" message and return) are replaced with my code, the resulting 
  26. | executable goes from ~1,000blocks to ~75,000 blocks. 
  27. | Yes, I use some scratch arrays (scratch arrays defined as local to the 
  28. | subroutine), so I replaced these with LIB$GET_VM and LIB$FREE_VM and the 
  29. | executable size when back to ~1,100 blocks. I presume the difference is due to 
  30. | my code size. Ok so far, but I can't get away with this for long....
  31.  
  32. Does your FORTRAN program declare its arrays initialized to some value?
  33.