[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | Kuck Associates Preprocessor Users |
Notice: | KAP V2.1 (f90,f77,C) SSB-kits - see note 2 |
Moderator: | HPCGRP::DEGREGORY |
|
Created: | Fri Nov 22 1991 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 390 |
Total number of notes: | 1440 |
380.0. "-inc (still) not working ?! how to specify allternate include directory(-ies) ?" by BACHUS::SABLON (Mich�le Sablon, TP/IM Support Belgium 856-7238) Mon May 05 1997 08:28
OSF 3.2-B
KAP/Digital_UA_F 3.1
A customer is asking how to specify alternate include directory to
KAP for FORTRAN. The User's Guide is not really explicit about it
while the man pages report -inc=<dir> as include directory specifi-
cation option:
-inc=<path name>
Long name: -include=<path name>
Default value: -off
The include switch allows the user to specify an alternate direc-
tory for locating the files specified in INCLUDE statements.
An include file whose name does not begin with a slash (/) is
sought first in the directory containing the file containing the
INCLUDE statement or directive, then in the directory named in
the include switch.
Although, it seems not to be used and only include files found in the
same directory as the file being compiled, are used. Also the use of
such option generates syntax errors:
kapf -inc=incdir y.f
Include file "..." not found.
1 error in file y.f
KAP -- Syntax Errors Detected
KAP also doesn't know about the fortran -I option:
kapf -Iincdir y.f
Command line error -- Unrecognizable string: "Iincdir".
KAP -- Command Line Syntax Error Detected
I found an old note (cf note #53) already reporting this problem.
It was even QAR'ed but closed with following comment:
�The INCLUDE switch is currently off in all DEC products, ...
This QAR is being closed as NOT DESIGN RELATED and NOT A PRODUCT
PROBLEM.�
Is it (still) a restriction of KAP implementation on OSF that it
cannot include files from outsite the main file's directory. Or is
there another way to do this ?
Thanks in advance,
Mich�le.
T.R | Title | User | Personal Name | Date | Lines |
---|
380.1 | it's a bug | HPCGRP::DEGREGORY | Karen 223-5801 | Tue May 06 1997 14:35 | 6 |
| It works in kap fortran 90 but is broken in kap 77.
I'm having it fixed and the fix will be in 3.1a
(will ship in June).
Sorry,
Karen
|
380.2 | Thanks Karen, I'll inform the customer /MSB | BACHUS::SABLON | Mich�le Sablon, TP/IM Support Belgium 856-7238 | Wed May 07 1997 04:39 | 0
|