home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- 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
- From: geertr@sci.kun.nl (Geert Rolf)
- Subject: XLF -g option struggles on include files
- Message-ID: <BxnKoz.54z@sci.kun.nl>
- Summary: xlf -g not capable of properly handling include files
- Keywords: xlf -g option has severe problems with include files
- Sender: news@sci.kun.nl (NUnet News Owner)
- Organization: University of Nijmegen, The Netherlands
- Date: Fri, 13 Nov 1992 11:46:11 GMT
- Lines: 46
-
-
- xlf -g option struggles on include files.
-
- % xlf -g -o t test.f
- ** test === End of Compilation 1 ===
- 1517-009: (U) Error in compiler runtime system; compilation ended.
- xlf: 1501-230 Internal compiler error; please contact your IBM representative
-
- Observe the following stripped down example:
-
- File "COMMON":
- common /a_common/ a(idim)
-
- File "SIZES":
- parameter(idim=1000)
-
- File "test.f":
- program test
- include 'SIZES'
- end
- c
- subroutine sub1
- include 'SIZES'
- include 'COMMON'
- end
-
- Without -g it compiles properly. If you change test.f by including SIZES yourself:
- program test
- include 'SIZES'
- end
- c
- subroutine sub1
- parameter(idim=1000)
- include 'COMMON'
- end
-
- the -g works too.
-
- So: -g has problems with include files!!.
-
- We run AIX 3.2.0 using XLF with magic numbers: 02.02.0100.0003
-
- ---------------------
- Geert Rolf
- Informatische Chemie & Fysica
- Univ. of Nijmegen.
-