Page 1 of 1

C not looking in sys$lib_c.tlb

Posted: Fri Feb 26, 2021 6:28 pm
by theoldman
I moved from HP C 7.3 to VSI C 7.4 on AXP and impdef.h is not found. I extracted it from sys$lib_c.tlb and all is well however this obviously cannot be the correct method. What do I do to make it look at sys$lib_c.tlb (logical?).

Re: C not looking in sys$lib_c.tlb

Posted: Fri Feb 26, 2021 7:23 pm
by brett.cameron
Try "$ cc fred.c +sys$library:sys$lib_c.tlb/lib"

Re: C not looking in sys$lib_c.tlb

Posted: Wed Mar 10, 2021 7:17 pm
by theoldman
Thank you, that works. I had to modify the default mmk rules to get the library after the c source file.