home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11558 < prev    next >
Encoding:
Text File  |  1992-11-13  |  1.5 KB  |  59 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!gmd.de!Germany.EU.net!mcsun!sun4nl!sci.kun.nl!geertr
  3. From: geertr@sci.kun.nl (Geert Rolf)
  4. Subject: XLF -g option struggles on include files
  5. Message-ID: <BxnKoz.54z@sci.kun.nl>
  6. Summary: xlf -g not capable of properly handling include files
  7. Keywords: xlf -g option has severe problems with include files
  8. Sender: news@sci.kun.nl (NUnet News Owner)
  9. Organization: University of Nijmegen, The Netherlands
  10. Date: Fri, 13 Nov 1992 11:46:11 GMT
  11. Lines: 46
  12.  
  13.  
  14. xlf -g option struggles on include files.
  15.  
  16.     % xlf -g -o t test.f 
  17.     ** test   === End of Compilation 1 ===
  18.         1517-009: (U) Error in compiler runtime system; compilation ended.
  19.     xlf: 1501-230 Internal compiler error; please contact your IBM representative
  20.  
  21. Observe the following stripped down example:
  22.  
  23. File "COMMON":
  24.     common /a_common/ a(idim)
  25.  
  26. File "SIZES":
  27.     parameter(idim=1000)
  28.  
  29. File "test.f":
  30.       program test
  31.       include 'SIZES'
  32.       end
  33. c
  34.       subroutine sub1
  35.       include 'SIZES'
  36.       include 'COMMON'
  37.       end
  38.  
  39. Without -g it compiles properly. If you change test.f by including SIZES yourself:
  40.       program test
  41.       include 'SIZES'
  42.       end
  43. c
  44.       subroutine sub1
  45.       parameter(idim=1000)
  46.       include 'COMMON'
  47.       end
  48.  
  49. the -g works too.
  50.  
  51. So: -g has problems with include files!!.
  52.  
  53. We run AIX 3.2.0 using XLF with magic numbers: 02.02.0100.0003
  54.  
  55. ---------------------
  56. Geert Rolf
  57. Informatische Chemie & Fysica
  58. Univ. of Nijmegen.
  59.