Summary of changes to GCC 2.8.1 Header files 26-Jan-1999 This is as close as I can get to the X/OPEN header definitions. The biggest problems in the time.h definitions. The routines listed in the header definitions match the DEC C RTL and most of the VAX C RTL by default. Some conditional definitions allow for other run-time libraries. Some routines defined in these headers are not present in all or any versions of the DEC C RTL. They are present to aid in the writing additional libraries or emulation routines like are present in the SAMBA-VMS program. -John WB8TYW@QSL.NET [library] This is not an include file. The logical name GNU_CC_LIBRARY points to this directory. Here are some additional files for it. The sources for these routines are available on the World Wide Web. The LIBERTY.OLB is from BINUTILS-2.9.1. The GCC2DECC.OPT is used to build against the DECC RTL Shared image. This is simpler than maintaining a copy of the option file with each program. [BIN] This is the GNU_ROOT:[BIN]. It is a precompiled AS.EXE from BINUTILS-2.9.1. Otherwise known as GAS and GCC-AS. [SOURCE] These are files that I modified to build LIBERTY and GCC-AS.EXE, from the BINUITILS-2.9.1 sources. ([.gas])WRITE.C, ([.GAS.CONFIG])obj-vms.c, ([.libiberty]VMSBUILD.COM The GNU_CC_INCLUDE:[000000...] header file modifications are below. The file GNU_CC_INCLUDE:[000000]descrip.h was deleted. This was an incomplete file covering up the GNU_CC_INCLUDE:[VMS]descrip.h. [000000]aio.h Placeholder for header required by X/OPEN [000000]complex.h Placeholder for header required by ANSI working draft [000000]cpio.h Placeholder for header required by X/OPEN [000000]ctype.h Added wide characters, and X/OPEN required prototypes [000000]curses.h Added some prototypes [000000]DIRENT.H Added conditional include of [VMS]descrip.h needed to resolve reference. Ported program would not always be expected to have the include already. Additional adjustments to support DEC C RTL and X/OPEN. [000000]dlfcn.h Placeholder for header required by X/OPEN [000000]errno.h Added several codes from X/OPEN [000000]FCNTL.H Moved to directory X/Open specified. Added missing constants that SAMBA needed. Updated to X/OPEN and the ANSI working draft. [000000]FENV.h Header required by X/OPEN. Does not seem to be used by DEC C RTL. [000000]FILE.H Added comment that this header has been superceeded by . [000000]fmtmsg.h Placeholder for header required by X/OPEN [000000]fnmatch.h Placeholder for header required by X/OPEN [000000]ftw.h New file. Seems to be DECC RTL specific [000000]glob.h Placeholder for header required by X/OPEN [000000]GRP.H New file needed for SAMBA adapted from the LINUX distribution. [000000]iconv.h New file. Seems to be DECC RTL specific [000000]IN.H New file that just includes [NETINET]IN.H for compatability with DEC C. [000000]inttypes.h New from X/OPEN [000000]IOCTL.H New file that just includes [SYS]IOCTL.H for compatability with DEC C. [000000]langinfo.h New file. Seems to be DECC RTL specific [000000]libgen.h New file. Seems to be DECC RTL specific [000000]limits.h Updated to match ANSI Working Draft [000000]malloc.h Changed sbrk() accordign to X/OPEN [000000]math.h Fixed some conflicts with EDOM/ERANGE [000000]monetary.h New file. Seems to be DECC RTL specific [000000]mqueue.h Placeholder for header required by X/OPEN [000000]ndbm.h Placeholder for header required by X/OPEN [000000]NETDB.H New file needed for SAMBA adapted from the LINUX distribution. [000000]nl_types.h New file. Seems to be DECC RTL specific [000000]poll.h Placeholder for header required by X/OPEN [000000]pthread.h Added wrapper code to indicate that pthread_attr_t has been typedef. [000000]pwd.h New file needed for SAMBA adapted from the LINUX distribution. [000000]reentrancy.h New file. Seems to be DECC RTL specific [000000]regex.h Placeholder for header required by X/OPEN [000000]regexp.h Placeholder for header required by X/OPEN [000000]resolv.h New file. Seems to be DECC RTL specific [000000]re_comp.h Placeholder for header required by X/OPEN [000000]sched.h Placeholder for header required by X/OPEN [000000]search.h Placeholder for header required by X/OPEN [000000]semaphore.h Placeholder for header required by X/OPEN [000000]setjmp.h Added some DEC C RTL routines. [000000]signal.h Updates for X/OPEN, DEC C. [000000]socket.h New file that just includes [SYS]SOCKET.H for compatability with DEC C. [000000]socketshr.h Fixed to not conflict with POSIX$INCLUDE files. [000000]stat.h New file that just includes [SYS]STAT.H for compatability with DEC C. [000000]stdarg.h Wrapped va_start with #ifdef/#endif [000000]stdbool.h New file required by ANSI working draft [000000]stddef.h VAX C & DEC C has wchar_t an unsigned int. [000000]stdio.h Updated for X/OPEN, and DECC$ routines. [000000]stdlib.h Updated for DEC C RTL. [000000]string.h Updated for DEC C RTL. [000000]strings.h Updated for X/OPEN and DEC C RTL. [000000]stropts.h Placeholder for header required by X/OPEN [000000]syslog.h Placeholder for header required by X/OPEN [000000]tar.h Placeholder for header required by X/OPEN [000000]term.h Placeholder for header required by X/OPEN [000000]termios.h Placeholder for header required by X/OPEN [000000]tgmath.h Placeholder for header required by ANSI working draft [000000]time.h Update to include , instead of duplicating it's values. Update for DEC C RTL. [000000]timers.h New file. Seems to be DEC C specific. [000000]types.h New file that just includes [SYS]types.h for compatability with DEC C. [000000]unistd.h Make definition of NULL consistent with the other header files to remove ordering dependencies. [000000]utime.h File needed for SAMBA adapted from the LINUX distribution. [000000]ucontext.h Placeholder for header required by X/OPEN [000000]ulimit.h Placeholder for header required by X/OPEN [000000]unctrl.h Placeholder for header required by X/OPEN [000000]unistd.h Fixed NULL, X/OPEN and DEC C RTL update. [000000]unixio.h Added fsync(). Not an X/OPEN header. [000000]unixlib.h Added DEC C RTL. Not an X/OPEN header. [000000]utime.h New file, required by X/OPEN. [000000]utmpx.h Placeholder for header required by X/OPEN [000000]varargs.h Updated to DEC C RTL [000000]wchar.h Wide character support [000000]wctype.h Wide character types [000000]wordexp.h Placeholder for header required by X/OPEN [000000]xti.h Placeholder for header required by X/OPEN [arpa]inet.h Converted to X/OPEN format. [NET]if.h New file needed for SAMBA adapted from the LINUX distribution. [netinet]in.h Updated according to X/OPEN [SYS]FCNTL.H New file that just conditionally includes [000000]FCNTL.H. For programs that look in the [SYS] directory. [SYS]IOCTL.H Adapted from the SOCKETSHR Distribution. Needed for SAMBA. [SYS]IPC.H X/OPEN Interprocess communication stuff. [SYS]MMAN.H Memory Mapped Stuff. [SYS]msg.h Placeholder for header required by X/OPEN [SYS]resource.h X/OPEN header from LINUX. [SYS]sem.h Placeholder for header required by X/OPEN [SYS]shm.h Placeholder for header required by X/OPEN [SYS]signal.h Conditionally conclude [000000]signal.h for programs that expect it in the [SYS] directory. [SYS]sockios.h New file needed for SAMBA adapted from the LINUX distribution. [SYS]socket.h New file required by SAMBA adapted from the LINUX distribution. Adapted to match DEC C RTL and X/OPEN. [SYS]stat.h Added some missing definitions. Added hack to allow code written for UNIX to more easily be ported. [SYS]statfs.h Used by SAMBA. Created from LINUX VFS.H. Seems to be the same as the statvfs.h in X/OPEN. [SYS]statvfs.h X/OPEN header derived from LINUX. [SYS]time.h Change to just call [000000]time.h to attempt to resolve problems where DEC C programs do not expect two header files with the same name. Also some stuff in this file does not seem to compile. [SYS]timeb.h Moved ftime() here to comply with X/OPEN. [SYS]times.h X/OPEN updates. [SYS]types.h Added X/OPEN and ANSI definitions. Set uid_t size to unsigned int to match DECCRTL and VAXCRTL. [SYS]uio.h From the LINUX distribution, used in rebuilding SOCKETSHR. [SYS]un.h Placeholder for header required by X/OPEN [SYS]vfs.h New file needed for SAMBA adapted from the LINUX distribution. Just calls . [SYS]wait.h X/OPEN header needed for SAMBA adapted from the LINUX distribution. [vms]objdef.h VAX object language definitions.