[Info-vax] how to include ioc_routines.h?
Jan-Erik Soderholm
jan-erik.soderholm at telia.com
Thu Jan 21 16:19:24 EST 2016
Den 2016-01-21 kl. 17:12, skrev Jim:
> On Thursday, January 21, 2016 at 10:38:18 AM UTC-5, Joukj wrote:
>> Hi all,
>>
>> A simple c-program:
>>
>> $type test.c
>> #include <ioc_routines.h>
>> main ()
>> {}
>> $cc test.c
>>
>> #include <ioc_routines.h>
>> .^
>> %CC-F-NOINCLFILEF, Cannot find file <ioc_routines.h> specified in
>> #include directive. at line number 1 in file $DISK7:[joukj.TEST]test.c;1
>>
>>
>> What is going wrong. I figured out that ioc_routines.h is included in
>> sys$library:sys$lib_c.tbl. I thought this file was searched by DECC.
>> What am I doing wrong?
>>
>> I am using
>> HP C V7.3-010 on OpenVMS Alpha V8.4
>> HP C V7.3-020 on OpenVMS IA64 V8.4
>>
>> Regards
>> Jouk
>
> $ cc test+sys$library:sys$lib_c.tlb/lib
>
Or, if you do not want to add that /lib to each CC command:
$ type test.c
#include <ioc_routines.h>
main ()
{}
$
$ define DECC$TEXT_LIBRARY sys$share:sys$lib_c.tlb
$
$ cc test
$
More information about the Info-vax
mailing list