home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / fortran / 4872 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.7 KB  |  41 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uimrl7.mrl.uiuc.edu!ercolessi
  3. From: ercolessi@uimrl3.mrl.uiuc.edu (furio ercolessi)
  4. Subject: RE: Common block problem with MS-FORTRAN
  5. References: <29DEC199220562573@osprey.telcom.arizona.edu> <30DEC92.22452124@edison.usask.ca>
  6. Message-ID: <C03ozD.DwI@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Reply-To: ercolessi@uimrl3.mrl.uiuc.edu (furio ercolessi)
  9. Organization: MRL - UIUC
  10. Date: Thu, 31 Dec 1992 01:47:36 GMT
  11. Lines: 28
  12.  
  13. In article <30DEC92.22452124@edison.usask.ca>, f54oguocha@edison.usask.ca writes:
  14. |>
  15. |>>DOS box using Microsoft FORTRAN 4.01 or 5.0.  I get the same message
  16. |>>with either one:
  17. |>> 
  18. |>>actrep.for(21) : error F2379: DESCRI : item in common block crosses segment
  19. |>>actrep.for(333) : error F2379: DESCRI : item in common block crosses segment
  20. |>>...  What am I overlooking?
  21. |>> 
  22. |>>Thanks for any help.
  23. |>>-Doug
  24.  
  25. |>one possible source of this type of error is the length of the continuation
  26. |>line you inherited from your former program.
  27.  
  28. Rather, I guess that the original poster is hitting against some compiler
  29. limit related with 80x86 architectures.  A "segment" is 64 kbytes in
  30. these machines.  Having a common block within a segment clearly
  31. makes addresses generation more efficient.
  32.  
  33. I never used 80x86s for Fortran work and cannot be of help: sorry!
  34. I can only suggest to browse through all the compiler's options ...
  35.  
  36. --
  37. Furio Ercolessi
  38. Materials Research Laboratory           |   Intl School for Advanced Studies
  39. Univ. of Illinois at Urbana-Champaign   |   Trieste, Italy
  40. furio@uiuc.edu                          |   furio@sissa.it
  41.