C not looking in sys$lib_c.tlb

Post Reply

Topic author
theoldman
Visitor
Posts: 2
Joined: Fri Feb 26, 2021 5:48 pm
Reputation: 0
Status: Offline

C not looking in sys$lib_c.tlb

Post by theoldman » Fri Feb 26, 2021 6:28 pm

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?).


brett.cameron
VSI Expert
Active Contributor
Posts: 25
Joined: Mon Jun 24, 2019 9:51 am
Reputation: 0
Status: Offline

Re: C not looking in sys$lib_c.tlb

Post by brett.cameron » Fri Feb 26, 2021 7:23 pm

Try "$ cc fred.c +sys$library:sys$lib_c.tlb/lib"


Topic author
theoldman
Visitor
Posts: 2
Joined: Fri Feb 26, 2021 5:48 pm
Reputation: 0
Status: Offline

Re: C not looking in sys$lib_c.tlb

Post by theoldman » Wed Mar 10, 2021 7:17 pm

Thank you, that works. I had to modify the default mmk rules to get the library after the c source file.

Post Reply