C not looking in sys$lib_c.tlb
-
Topic author - Visitor
- Posts: 2
- Joined: Fri Feb 26, 2021 5:48 pm
- Reputation: 0
- Status: Offline
C not looking in sys$lib_c.tlb
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?).
-
- 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
Try "$ cc fred.c +sys$library:sys$lib_c.tlb/lib"
-
Topic author - Visitor
- Posts: 2
- Joined: Fri Feb 26, 2021 5:48 pm
- Reputation: 0
- Status: Offline
Re: C not looking in sys$lib_c.tlb
Thank you, that works. I had to modify the default mmk rules to get the library after the c source file.