home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / ultrix / 9518 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.3 KB  |  47 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!math.fu-berlin.de!ira.uka.de!Sirius.dfn.de!gwdu03.gwdg.de!gwdgv1.gwdg.de!HAIDER
  3. From: haider@gwdgv1.gwdg.de
  4. Subject: f77 -cord problem
  5. Message-ID: <45602QT@gwdu03.gwdg.de>
  6. Sender: news@gwdu03.gwdg.de (USENET News System)
  7. Nntp-Posting-Host: gwdgv1.gwdg.de
  8. Reply-To: haider@gwdgv1.gwdg.de
  9. Organization: GWDG Goettingen, F.R.Germany
  10. Date: Wed, 27 Jan 1993 09:38:28 GMT
  11. Lines: 34
  12.  
  13. I tried to link a fortran program with -cord -feedback options,
  14. but the compiler always crashed in the cord section.
  15. my machine is a DECstation 3100, ultrix 4.2, DEC-Fortran 3.1
  16. Does anybody know this problem  and/or a solution?
  17. following a small test program plus the commands I used
  18.  
  19. c  this is the program to test the f77 -cord option
  20. c
  21. c  the following sequence of commands was used:
  22. c
  23. c  f77 -o testcord testcord.f
  24. c  pixie testcord
  25. c  testcord.pixie
  26. c  prof -feedback testcord.feed testcord
  27. c  f77 -o testcord.opt -feedback testcord.feed -cord testcord.f
  28. c
  29. c  yields
  30. c  Fatal error in: /usr/lib/cmplrs/cc/cord Segmentation faut
  31. c  fort: Severe: Failed while trying to linkc
  32. c
  33.         real x(100000)
  34.         do i=1,100000
  35.           x(i)=6.283*real(i)/100000.
  36.         end do
  37.         read(*,*) i
  38.         write(*,*) x(i)
  39.         stop
  40.         end
  41.  
  42.  
  43. thanks
  44.  
  45.   Ferdinand Haider (haider@umpds2.gwdg.de)
  46.  
  47.