changed compiler options and linked libraries to account for the change from Visual Studio 98 to Visual Studio 2015
diff --git a/src/packages/xdc/services/host/lib/package.bld b/src/packages/xdc/services/host/lib/package.bld
index ca8ad7b..e25a27e 100644
--- a/src/packages/xdc/services/host/lib/package.bld
+++ b/src/packages/xdc/services/host/lib/package.bld
@@ -19,14 +19,9 @@
 for (var i = 0; i < Build.targets.length; i++) {
     var targ = Build.targets[i];
 
-    /* For Windows, we need to completely clean release.compileOpts.copts and
-     * add Object.Attrs because one set of objects has to be compiled with
-     * -MT and another, for the DLLS, with -MD.
-     */
     if (targ.os == "Windows") {
-        targ.$orig.profiles['release'].compileOpts.copts = "-O2";
         var lib = Pkg.addLibrary("lib/xutils", targ, {profile: "release"});
-        lib.addObjects(LIB_SOURCES, {copts: "-MT"});
+        lib.addObjects(LIB_SOURCES);
     }
     else if (targ.os == "Linux" || targ.os == "MacOS") {
         var lib = Pkg.addLibrary("lib/xutils", targ, {profile: "release"});
@@ -35,9 +30,10 @@
 
     /* dll for use by IAR C-SPY plug-in to call ROV scripts */
     if (targ.os == "Windows") {
+        targ.$orig.profiles['release'].compileOpts.copts = " -Oti -Gy -GF -MD ";
         var dll = Pkg.addLibrary("lib/dlls/xutils", targ,
                                {profile: "release", suffix: ".dll"});
-        dll.addObjects(LIB_SOURCES, {copts: "-Oti -Gy -MD"});
+        dll.addObjects(LIB_SOURCES);
     }
 }
 
diff --git a/src/packages/xdc/services/io/config.bld b/src/packages/xdc/services/io/config.bld
index c0bdba0..552d7d4 100644
--- a/src/packages/xdc/services/io/config.bld
+++ b/src/packages/xdc/services/io/config.bld
@@ -2,15 +2,17 @@
 xdc.includeFile("../../../../config.bld");
 
 /* change default libraries */
-var VC98 = xdc.module("microsoft.targets.VC98");
-VC98.profiles.debug.linkOpts = "-debug " +
-    "nafxcwd.lib kernel32.lib user32.lib gdi32.lib advapi32.lib " +
-    "shell32.lib comctl32.lib winspool.lib comdlg32.lib uuid.lib " +
-    "libcmtd.lib";
-VC98.profiles.release.linkOpts =
-    "nafxcw.lib kernel32.lib user32.lib gdi32.lib advapi32.lib " +
-    "shell32.lib comctl32.lib winspool.lib comdlg32.lib uuid.lib " +
-    "libcmt.lib";
+var Win32 = xdc.module("microsoft.targets.Win32");
+Win32.profiles.debug.linkOpts = "-debug " +
+    "nafxcwd.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib advapi32.lib " +
+    "msimg32.lib oleacc.lib oledlg.lib shlwapi.lib msxml6.lib atls.lib  " +
+    "shell32.lib comctl32.lib winspool.lib comdlg32.lib uuid.lib uxtheme.lib " +
+    "imm32.lib winmm.lib windowscodecs.lib libcmtd.lib";
+Win32.profiles.release.linkOpts =
+    "nafxcw.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib advapi32.lib " +
+    "msimg32.lib oleacc.lib oledlg.lib shlwapi.lib msxml6.lib atls.lib " +
+    "shell32.lib comctl32.lib winspool.lib comdlg32.lib uuid.lib uxtheme.lib " +
+    "imm32.lib winmm.lib windowscodecs.lib libcmt.lib";
 
 if ("excludeDirs" in Pkg) {
     Pkg.excludeDirs = [".svn"];
@@ -18,4 +20,3 @@
 if ("archiver" in Pkg.attrs) {
     Pkg.attrs.archiver = "zip";
 }
-
diff --git a/src/packages/xdc/services/io/package.bld b/src/packages/xdc/services/io/package.bld
index b2c9131..aa9582d 100644
--- a/src/packages/xdc/services/io/package.bld
+++ b/src/packages/xdc/services/io/package.bld
@@ -4,32 +4,35 @@
 
 for (var i = 0; i < Build.targets.length; i++) {
     var targ = Build.targets[i];
-    
-    if (targ.name == "VC98") {
-        var includes = "-I$(TOOLS)/jdknt/include " +
-            "-I$(TOOLS)/jdknt/include/win32";
+
+    if (targ.name == "Win32") {
+        var includes = "-IR:/library/vendors/jdk/jdk1.6.0_37/Windows/include "
+            + "-IR:/library/vendors/jdk/jdk1.6.0_37/Windows/include/win32";
 
         /*
          * TODO: fix compiler required options in target. The required
-         * options for VC98 include -U_AFXDLL and -D_DLL, which specify
+         * options for Win32 include -D_DLL, which specify
          * dynamic linking to the MFC and runtime. Further, the default
          * debug and release profiles use -MT, which specifies static
-         * linking to MFC. So this is an inconsistency. Fix here for now.
-         * We want static linking to avoid DLL heck.
+         * linking to MFC. Here, we undefined _DLL to fix that inconsistency.
+         * We want static linking here.
          */
-        var copts = " -U_AFXDLL -U_DLL -D_WINDLL -D_USRDLL ";
+        targ.$orig.cc.$unseal("opts");
+        targ.$orig.cc.opts =
+            targ.$orig.cc.opts.replace("-D_DLL", "-D_WINDLL -D_USRDLL");
+        targ.$orig.cc.$seal("opts");
 
         /* make a static library to be used by the DLL and executable */
         var libr = Pkg.addLibrary("release/Doss", targ,
-       			  {profile: "release", suffix: ".lib", copts: copts, incs: includes});
+            {profile: "release", suffix: ".lib", incs: includes});
         libr.addObjects(["Dos.cpp", "StringUtils.cpp"]);
 
         var dllr = Pkg.addAssembly("release/Dos", targ, targ.platform,
-            {profile: "release", cfgScript: null, copts: copts, lopts: " -def:DosDll.def "});
+            {profile: "release", cfgScript: null, lopts: " -def:DosDll.def "});
 
         /* make an executable to be used from the command line */
         var exer = Pkg.addExecutable("release/path2dos", targ, targ.platform,
-            {profile: "release", cfgScript: null, copts: copts});
+            {profile: "release", cfgScript: null});
         exer.addObjects(["DosApp.cpp"]);
         Pkg.generatedFiles.$add("release/path2dos.exp");
         Pkg.generatedFiles.$add("release/path2dos.lib");
diff --git a/src/packages/xdc/services/io/package.xs b/src/packages/xdc/services/io/package.xs
index cb98648..82170f0 100644
--- a/src/packages/xdc/services/io/package.xs
+++ b/src/packages/xdc/services/io/package.xs
@@ -1,34 +1,34 @@
 /* --COPYRIGHT--,EPL
- *  Copyright (c) 2008 Texas Instruments and others.
+ *  Copyright (c) 2008-2018 Texas Instruments Incorporated
  *  All rights reserved. This program and the accompanying materials
  *  are made available under the terms of the Eclipse Public License v1.0
  *  which accompanies this distribution, and is available at
  *  http://www.eclipse.org/legal/epl-v10.html
- * 
+ *
  *  Contributors:
  *      Texas Instruments - initial implementation
- * 
+ *
  * --/COPYRIGHT--*/
 /*
  *  ======== getLibs ========
  */
 function getLibs() 
 {
-    if (Program.build.target.name == "VC98") {
+    if (Program.build.target.name == "Win32") {
 	/* *.o files are returned only when Dos.dll is built within this
 	 * package.
 	 */
 	if (Program.$$isasm == 1 && Program.buildPackage == this.$name) {
             if (Program.build.profile == "debug") {
-                return ("package/lib/debug/Doss/Dos.o" + 
+                return ("package/lib/debug/Doss/Dos.o" +
                 	Program.build.target.suffix +
-                        ";package/lib/debug/Doss/StringUtils.o" + 
+                        ";package/lib/debug/Doss/StringUtils.o" +
                 	Program.build.target.suffix);
             }
             else {
-                return ("package/lib/release/Doss/Dos.o" + 
+                return ("package/lib/release/Doss/Dos.o" +
                 	Program.build.target.suffix +
-                        ";package/lib/release/Doss/StringUtils.o" + 
+                        ";package/lib/release/Doss/StringUtils.o" +
                 	Program.build.target.suffix);
             }
 	}
diff --git a/src/packages/xdc/xs/package.bld b/src/packages/xdc/xs/package.bld
index c9e8f44..318863b 100644
--- a/src/packages/xdc/xs/package.bld
+++ b/src/packages/xdc/xs/package.bld
@@ -39,55 +39,55 @@
 	var prog = Pkg.addExecutable("xs", targ, targ.platform,
 	    {profile: "debug", cfgScript: "xs.cfg"});
 	prog.addObjects(["xs"]);
-	prog.attrs.lopts = "-lm -ldl -lpthread";
+        prog.attrs.lopts = "-lm -ldl -lpthread";
     }
     else if (targ.os == "Windows") {
         /* For Windows, we need to completely clean release.compileOpts.copts
          * and add different Object.Attrs because one set of objects has to be
          * compiled with -MT and another, for the DLLS, with -MD.
          */
-        targ.$orig.profiles['release'].compileOpts.copts = "-O2";
-        targ.$orig.profiles['debug'].compileOpts.copts = "-Z7 -Odi";
+        targ.$orig.profiles['release'].compileOpts.copts = " -Oti -Gy -GF -MT ";
         var includes = "-IR:/library/vendors/jdk/jdk1.6.0_37/Windows/include "
             + "-IR:/library/vendors/jdk/jdk1.6.0_37/Windows/include/win32";
 
         var libd = Pkg.addLibrary("lib/debug/tcf", targ,
                                   {profile: "debug", suffix: ".lib"});
-        libd.addObjects(SOURCES, {copts: "-MTd"});
+        libd.addObjects(SOURCES);
         libd.attrs.incs = includes;
 
         var libr = Pkg.addLibrary("lib/release/tcf", targ,
         			  {profile: "release", suffix: ".lib"});
-        libr.addObjects(SOURCES, {copts: "-MT"});
+        libr.addObjects(SOURCES);
         libr.attrs.incs = includes;
 
         var libdx = Pkg.addLibrary("lib/debug/xs", targ,
                                   {profile: "debug", suffix: ".lib"});
-        libdx.addObjects(XSSOURCES, {copts: "-MTd"});
+        libdx.addObjects(XSSOURCES);
         libdx.attrs.incs = includes;
 
         var librx = Pkg.addLibrary("lib/release/xs", targ,
         			  {profile: "release", suffix: ".lib"});
-        librx.addObjects(XSSOURCES, {copts: "-MT"});
+        librx.addObjects(XSSOURCES);
         librx.attrs.incs = includes;
 
         var prog1 = Pkg.addExecutable("debug/xs", targ, targ.platform,
             {profile: "debug", cfgScript: "xs.cfg"});
-        prog1.addObjects(["xs.c"], {copts: "-MTd"});
+        prog1.addObjects(["xs.c"]);
 
         var prog2 = Pkg.addExecutable("release/xs", targ, targ.platform,
             {profile: "release", cfgScript: "xs.cfg"});
-        prog2.addObjects(["xs.c"], {copts: "-MT"});
+        prog2.addObjects(["xs.c"]);
 
         /* dlls for use by IAR C-SPY plug-in to call ROV scripts */
+        targ.$orig.profiles['release'].compileOpts.copts = " -Oti -Gy -GF -MD ";
         var tcfdll = Pkg.addLibrary("lib/release/dlls/tcf", targ,
                                   {profile: "release", suffix: ".dll"});
-        tcfdll.addObjects(SOURCES, {copts: "-Oti -Gy -MD"});
+        tcfdll.addObjects(SOURCES);
         tcfdll.attrs.incs = includes;
 
         var xsdll = Pkg.addLibrary("lib/release/dlls/xs", targ,
                                   {profile: "release", suffix: ".dll"});
-        xsdll.addObjects(XSSOURCES, {copts: "-Oti -Gy -MD"});
+        xsdll.addObjects(XSSOURCES);
         xsdll.attrs.incs = includes;
     }
     else if (targ.os != null) {