Changeset 9159 for trunk/tools
- Timestamp:
- Aug 28, 2002, 11:40:34 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bin/buildenv.cmd
r9112 r9159 1 /* $Id: buildenv.cmd,v 1.1 6 2002-08-24 04:37:22bird Exp $1 /* $Id: buildenv.cmd,v 1.17 2002-08-28 21:40:34 bird Exp $ 2 2 * 3 3 * This is the master tools environment script. It contains environment … … 27 27 * Version 28 28 */ 29 sVersion = '1.0. 2 [2002-08-18]';29 sVersion = '1.0.3 [2002-08-28]'; 30 30 31 31 /* … … 108 108 aCfg.i.sId = 'db2v52'; aCfg.i.sGrp = 'database'; aCfg.i.sSet = 'db2v52'; aCfg.i.sDesc = 'DB2 v5.2 Dev Edition'; i = i + 1; 109 109 aCfg.i.sId = 'ddkbase'; aCfg.i.sGrp = 'ddk'; aCfg.i.sSet = 'DDKBase'; aCfg.i.sDesc = 'DDK base (recent)'; i = i + 1; 110 /* aCfg.i.sId = 'ddkvideo'; aCfg.i.sGrp = 'ddk'; aCfg.i.sSet = 'DDKVideo'; aCfg.i.sDesc = 'DDK Video (recent)'; i = i + 1; */ 110 111 aCfg.i.sId = 'emx'; aCfg.i.sGrp = 'comp32'; aCfg.i.sSet = 'EMX'; aCfg.i.sDesc = 'EMX v0.9d fixpack 04'; i = i + 1; 111 112 aCfg.i.sId = 'emxpgcc'; aCfg.i.sGrp = 'comp32'; aCfg.i.sSet = 'EMXPGCC'; aCfg.i.sDesc = 'Pentium Optimized GCC/EMX v1.1.1 r2 with binutils 2.9.1'; i = i + 1; … … 802 803 aPath.i.sPId = 'ida414'; aPath.i.sPath = 'f:\ida414'; i = i + 1; 803 804 aPath.i.sPId = 'idasdk'; aPath.i.sPath = 'f:\idasdk'; i = i + 1; 804 aPath.i.sPId = 'ddkbase'; aPath.i.sPath = 'f:\ddk\base'; i = i + 1; 805 aPath.i.sPId = 'ddkbase'; aPath.i.sPath = 'f:\ddknew\base'; i = i + 1; 806 aPath.i.sPId = 'ddkbase'; aPath.i.sPath = 'f:\ddknew\video'; i = i + 1; 805 807 aPath.i.sPId = 'home'; aPath.i.sPath = 'e:\user\kso'; i = i + 1; 806 808 aPath.i.sPId = 'mscv6-16'; aPath.i.sPath = 'f:\ddktools\toolkits\msc60'; i = i + 1; … … 833 835 834 836 /* 835 * Bird: workbox.837 * Bird: laptop box. 836 838 */ 837 839 if (translate(EnvGet('HOSTNAME')) = 'BIRD') then … … 850 852 /*aPath.i.sPId = 'idasdk'; aPath.i.sPath = 'e:\idasdk'; i = i + 1; */ 851 853 aPath.i.sPId = 'ddkbase'; aPath.i.sPath = 'e:\ddk\base'; i = i + 1; 854 aPath.i.sPId = 'ddkvideo'; aPath.i.sPath = 'e:\ddk\video'; i = i + 1; 852 855 aPath.i.sPId = 'home'; aPath.i.sPath = 'x:\home'; i = i + 1; 853 856 aPath.i.sPId = 'mscv6-16'; aPath.i.sPath = 'e:\ddktools\toolkits\msc60'; i = i + 1; … … 874 877 aPath.i.sPId = 'testcase_drive_network'; aPath.i.sPath = 'x'; /* optional */ i = i + 1; 875 878 /*aPath.i.sPId = 'testcase_drive_ramdisk'; aPath.i.sPath = ''; /* optional */ i = i + 1;*/ 879 /*aPath.i.sPId = ''; aPath.i.sPath = i = i + 1;*/ 880 end 881 882 883 /* 884 * Bird: work box. 885 */ 886 if (translate(EnvGet('HOSTNAME')) = 'DREAM') then 887 do 888 say 'Info: No or empty path file, using birds work defaults.'; 889 aPath.i.sPId = 'cvs'; aPath.i.sPath = 'd:\dev\cvs\v11.1'; i = i + 1; 890 aPath.i.sPId = 'emx'; aPath.i.sPath = 'd:\emx'; i = i + 1; 891 aPath.i.sPId = 'emxpgcc'; aPath.i.sPath = 'd:\dev\emxpgcc\v2.95.2'; i = i + 1; 892 /*aPath.i.sPId = 'db2v52'; aPath.i.sPath = 'e:\sqllib52'; i = i + 1; 893 aPath.i.sPId = 'icatgam'; aPath.i.sPath = 'e:\icatos2'; i = i + 1; 894 aPath.i.sPId = 'icatgam406rc1'; aPath.i.sPath = 'e:\icatos2.4.0.6.rc1'; i = i + 1; 895 aPath.i.sPId = 'icatpe'; aPath.i.sPath = 'e:\icatpe'; i = i + 1; 896 aPath.i.sPId = 'ida38'; aPath.i.sPath = 'e:\ida38'; i = i + 1; 897 aPath.i.sPId = 'ida40'; aPath.i.sPath = 'e:\ida401'; i = i + 1; */ 898 aPath.i.sPId = 'ida414'; aPath.i.sPath = 'd:\dev\ida\v414'; i = i + 1; 899 /*aPath.i.sPId = 'idasdk'; aPath.i.sPath = 'e:\idasdk'; i = i + 1; */ 900 aPath.i.sPId = 'ddkbase'; aPath.i.sPath = 'd:\dev\ddk\june02\base'; i = i + 1; 901 aPath.i.sPId = 'ddkvideo'; aPath.i.sPath = 'd:\dev\ddk\june02\video'; i = i + 1; 902 aPath.i.sPId = 'home'; aPath.i.sPath = 'd:\home\bird'; i = i + 1; 903 aPath.i.sPId = 'mscv6-16'; aPath.i.sPath = 'd:\dev\ddktools\toolkits\msc60'; i = i + 1; 904 aPath.i.sPId = 'mysql'; aPath.i.sPath = 'd:\apps\mysql2'; i = i + 1; 905 /*aPath.i.sPId = 'netqos2'; aPath.i.sPath = 'e:\netqos2'; i = i + 1; 906 aPath.i.sPId = 'perl'; aPath.i.sPath = 'e:\perllib'; i = i + 1; 907 aPath.i.sPId = 'python'; aPath.i.sPath = 'e:\python'; i = i + 1;*/ 908 aPath.i.sPId = 'toolkit40'; aPath.i.sPath = 'd:\dev\toolkit\v40csd1'; i = i + 1; 909 /*aPath.i.sPId = 'toolkit45'; aPath.i.sPath = 'e:\toolkit45'; i = i + 1; 910 aPath.i.sPId = 'toolkit451'; aPath.i.sPath = 'e:\toolkit451'; i = i + 1; */ 911 aPath.i.sPId = 'toolkit452'; aPath.i.sPath = 'd:\dev\toolkit\v452'; i = i + 1; 912 aPath.i.sPId = 'unixroot'; aPath.i.sPath = 'd:\unix'; i = i + 1; 913 aPath.i.sPId = 'xfree86'; aPath.i.sPath = 'd:\xfree86'; i = i + 1; 914 aPath.i.sPId = 'vac308'; aPath.i.sPath = 'd:\dev\VACpp\v308'; i = i + 1; 915 /*aPath.i.sPId = 'vac365'; aPath.i.sPath = 'e:\ibmcxxo'; i = i + 1; 916 aPath.i.sPId = 'vac40'; aPath.i.sPath = 'e:\ibmcpp40'; i = i + 1;*/ 917 aPath.i.sPId = 'warpin'; aPath.i.sPath = 'c:\warpin'; i = i + 1; 918 /*aPath.i.sPId = 'watcom11'; aPath.i.sPath = 'e:\watcom'; i = i + 1;*/ 919 aPath.i.sPId = 'watcom11c'; aPath.i.sPath = 'd:\dev\watcom\v110c'; i = i + 1; 920 aPath.i.sPId = 'testcase_drive_unused'; aPath.i.sPath = 't'; /* reqired */ i = i + 1; 921 aPath.i.sPId = 'testcase_drive_fixed'; aPath.i.sPath = 'f'; /* reqired */ i = i + 1; 922 aPath.i.sPId = 'testcase_drive_floppy'; aPath.i.sPath = 'a'; /* reqired */ i = i + 1; 923 aPath.i.sPId = 'testcase_drive_cdrom'; aPath.i.sPath = 'g'; /* optional */ i = i + 1; 924 aPath.i.sPId = 'testcase_drive_network'; aPath.i.sPath = 'x'; /* optional */ i = i + 1; 925 aPath.i.sPId = 'testcase_drive_ramdisk'; aPath.i.sPath = 'r'; /* optional */ i = i + 1; 876 926 /*aPath.i.sPId = ''; aPath.i.sPath = i = i + 1;*/ 877 927 end … … 1568 1618 1569 1619 /* 1620 * Device Driver Kit (DDK) Video. 1621 */ 1622 DDKVideo: procedure expose aCfg. aPath. sPathFile 1623 parse arg sToolId,sOperation,fRM,fQuiet 1624 1625 /* 1626 * Device Driver Kit (DDK) (v4.0+) Video (important not main) directory. 1627 */ 1628 sPathDDKVideo = PathQuery('ddkvideo', sToolId, sOperation); 1629 if (sPathDDKVideo = '') then 1630 return 1; 1631 /* If config operation we're done now. */ 1632 if (pos('config', sOperation) > 0) then 1633 return 0; 1634 call EnvSet fRM, 'PATH_DDKVIDEO',sPathDDKBase; 1635 call EnvAddFront fRM, 'path', sPathDDKBase'\tools;' 1636 call EnvAddFront fRM, 'include', sPathDDKBase'\h;'sPathDDKBase'\inc;'sPathDDKBase'\inc32;' 1637 call EnvAddFront fRM, 'include16', sPathDDKBase'\h;' 1638 call EnvAddFront fRM, 'lib', sPathDDKBase'\lib;' 1639 call EnvAddFront fRM, 'bookshelf', sPathDDKBase'\..\docs;' 1640 1641 /* 1642 * Verify. 1643 */ 1644 if (pos('verify', sOperation) <= 0) then 1645 return 0; 1646 if ( \CfgVerifyFile(sPathDDKBase'\tools\link.exe', fQuiet), 1647 | \CfgVerifyFile(sPathDDKBase'\tools\link386.exe', fQuiet), 1648 | \CfgVerifyFile(sPathDDKBase'\tools\cl386.exe', fQuiet), 1649 | \CfgVerifyFile(sPathDDKBase'\tools\masm.exe', fQuiet), 1650 | \CfgVerifyFile(sPathDDKBase'\tools\h2inc.exe', fQuiet), 1651 | \CfgVerifyFile(sPathDDKBase'\tools\lib.exe', fQuiet), 1652 | \CfgVerifyFile(sPathDDKBase'\lib\os2286.lib', fQuiet), 1653 | \CfgVerifyFile(sPathDDKBase'\lib\os2286p.lib', fQuiet), 1654 | \CfgVerifyFile(sPathDDKBase'\lib\os2386.lib', fQuiet), 1655 | \CfgVerifyFile(sPathDDKBase'\lib\os2386p.lib', fQuiet), 1656 | \CfgVerifyFile(sPathDDKBase'\lib\doscalls.lib', fQuiet), 1657 | \CfgVerifyFile(sPathDDKBase'\lib\dhcalls.lib', fQuiet), 1658 | \CfgVerifyFile(sPathDDKBase'\lib\addcalls.lib', fQuiet), 1659 | \CfgVerifyFile(sPathDDKBase'\lib\rmcalls.lib', fQuiet), 1660 | \CfgVerifyFile(sPathDDKBase'\lib\vdh.lib', fQuiet), 1661 | \CfgVerifyFile(sPathDDKBase'\h\infoseg.h', fQuiet), 1662 | \CfgVerifyFile(sPathDDKBase'\h\include.h', fQuiet), 1663 | \CfgVerifyFile(sPathDDKBase'\h386\pmddi.h', fQuiet), 1664 | \CfgVerifyFile(sPathDDKBase'\h386\pmddim.h', fQuiet), 1665 | \CfgVerifyFile(sPathDDKBase'\h386\limits.h', fQuiet), 1666 | \CfgVerifyFile(sPathDDKBase'\h386\string.h', fQuiet), 1667 | \CfgVerifyFile(sPathDDKBase'\inc\v8086.inc', fQuiet), 1668 | \CfgVerifyFile(sPathDDKBase'\inc\sas.inc', fQuiet), 1669 | \CfgVerifyFile(sPathDDKBase'\inc\pmwinx.inc', fQuiet), 1670 | \CfgVerifyFile(sPathDDKBase'\inc\infoseg.inc', fQuiet), 1671 | \CfgVerifyFile(sPathDDKBase'\inc\devhlp.inc', fQuiet), 1672 | \CfgVerifyFile(sPathDDKBase'\inc\devhlpp.inc', fQuiet), 1673 ) then 1674 return 2; 1675 rc = CheckCmdOutput('cl386', 0, fQuiet, 'Microsoft (R) Microsoft 386 C Compiler. Version 6.00.054'); 1676 if (rc = 0) then 1677 rc = CheckCmdOutput('masm nul,nul,nul,nul;', 2, fQuiet, 'Microsoft (R) Macro Assembler Version 5.10A.15 Jul 07 15:25:03 1989'); 1678 if (rc = 0) then 1679 rc = CheckCmdOutput('h2inc -?', 0, fQuiet, 'h2inc - .H to .INC file translator (version 13.29)'); 1680 if (rc = 0) then 1681 rc = CheckCmdOutput('type' sPathDDKBase'\inc\devhlp.inc', 0, fQuiet, 'DevHlp_ReadFileAt'); 1682 return rc; 1683 1684 1685 /* 1570 1686 * EMX/GCC 3.0.x - this environment must be use 'on' the ordinary EMX. 1571 1687 * Note! bin.new has been renamed to bin!
Note:
See TracChangeset
for help on using the changeset viewer.