T.R | Title | User | Personal Name | Date | Lines |
---|
3482.1 | checking | HYDRA::DORHAMER | | Mon Apr 14 1997 17:12 | 6 |
| I told Nish that I will check for him and give him a call back. I
suggested that using DEC C rather than VAX C would be preferable since
he plans to port to Alpha. He is running on a university system and
does not currently have access to DEC C.
Karen
|
3482.2 | file.h (on VAX C) is referenced by fcntl.h (on DEC C)... | AMCUCS::SWIERKOWSKI | Quot homines tot sententiae | Mon Apr 14 1997 17:33 | 17 |
| Greetings!
If he is using an OpenVMS VAX Vx.x system with *just* VAX C V3.2 installed,
I think the analog to fcntl.h is file.h - I extracted fcntl out of the DEC C
RTL library (i.e. DECC$RTLDEF.TLB) on an OpenVMS VAX with both VAX C and DEC C
installed and it just includes file.h). However you are correct that if he is
really porting to OpenVMS Alpha, then he will be using DEC C V5.x (there is no
"VAX C" on OpenVMS Alpha), cheers...
Tony Swierkowski
Digital Equipment Corporation
Software Partner Engineering
Palo Alto, California
(415) 617-3601
"[email protected]"
|
3482.3 | has DEC C also | HYDRA::DORHAMER | | Mon Apr 14 1997 17:53 | 5 |
| Nish called back and said that they do have a DEC C compiler, so he is
interested in knowing if the include file exists for either DEC C or
VAX C.
Karen
|
3482.4 | DECC gives you fcntl.h on VAX and Alpha | HYDRA::NEWMAN | Chuck Newman, 508/467-5499 (DTN 297), MRO1-3/F26 | Mon Apr 14 1997 17:53 | 7 |
| It includes file.h, which in turn has no includes.
Feel free to copy both of these from my VAX:
cheetr::sys$common:[decc$lib.include]fcntl.h,file.h
-- Chuck Newman
|
3482.5 | gave him the pointer to fcntl.h | HYDRA::DORHAMER | | Mon Apr 14 1997 17:58 | 4 |
| I called Nish and told him where to look on his system to find fcntl.h.
Thanks to Chuck Newman for finding this!
Karen
|
3482.6 | Further, file.h on VAX and Alpha are basically the same. | HYDRA::NEWMAN | Chuck Newman, 508/467-5499 (DTN 297), MRO1-3/F26 | Mon Apr 14 1997 18:03 | 26 |
| Tony, you're right -- and the DECC version of file.h is very similar to the VAXC
version:
Aside from comments, the only difference is that the DECC version has a C++
wrapper:
#ifdef __cplusplus
extern "C" {
#endif
...mumble-mumble-mumble...
#ifdef __cplusplus
}
#endif
F.W.I.W., on VAX systems the reference versions of the DECC include files are in
SYS$COMMON:[DECC$LIB.INCLUDE]
On Alpa systems they are in SYS$COMMON:[DECC$LIB.REFERENCE.DECC$RTLDEF] and
SYS$COMMON:[DECC$LIB.REFERENCE.SYS$STARLET_C]. The SYS$LIB_C.TLB file doesn't
get searched by default by the compiler, and a reference directory of its
include files isn't created by the DECC installation process.
-- Chuck Newman
|