I'm wondering if someone can provide references, pointers and/or explanation as to the correct setups when it comes to compiling a standard OS/2 program using the VACPP 3.65 release (3.08 should be fairly similar I think?) and the OS2_Toolkit?
Beyond this core concept, how should the GCC stuff tie into all of the above?
I think of the GCC stuff as replacing the VACPP compiler functionality, and therefore as such would still want to use the OS2_Toolkit includes I believe?
In my current configuration I have all three installed, haven't really done much other than basic compiles with all of them. They all seem to work fine. But once you start building the more complex stuff I'm running into difficulties figuring out which INCLUDE directories to use and specifically what order they should all come in?
Here is a very specific use-case as it applies to the DISKIO work I started:
1) TIME.H header file
a) VACPP install (\code\tools\Ibmcpp\include\TIME.H) shows the following
"11-08-00 1:16a 5,715 0 a--- time.h"
/********************************************************************/
/* <time.h> Header File */
/* IBM C and C++ Compilers for OS/2, AIX and for Windows NT, */
/* Version 3.6 */
/* Licensed Material - Property of IBM */
/* (C) Copyright IBM Corp. 1991, 1997. All rights reserved */
/* */
/********************************************************************/
b) OS2_Toolkit install (\code\tools\toolkit\h\libc\TIME.H) shows the following:
"1-27-16 11:42a 4,181 0 a--- time.h"
/********************************************************************/
/* <time.h> header file */
/* */
/* (C) Copyright IBM Corp. 1991, 1995. */
/* - Licensed Material - Program-Property of IBM */
/* - All rights reserved */
/* */
/********************************************************************/
The OS2_Toolkit stuff is the Netlabs release (Warp 4_52 Toolkit - os2tk45-4_5_2-6_oc00.zip - Sep_2017), I believe the os2tk45-4_5_2-9_oc00.zip is the most recent one that I should install.
My approach to upgrading has been to overlay the original OS2_Toolkit install with the Netlabs updates (all appropriate directory structure having been mapped to the original OS2_Toolkit structure as opposed to dumping the Netlabs stuff into the /usr/include/os2tk45...).
I've attached both versions of TIME.H so you can see the differences.