Changeset 8662 for trunk/tools/bin
- Timestamp:
- Jun 15, 2002, 1:24:49 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/tools/bin/buildenv.cmd (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bin/buildenv.cmd
r8661 r8662 1 /* $Id: buildenv.cmd,v 1.1 0 2002-06-14 22:48:53bird Exp $1 /* $Id: buildenv.cmd,v 1.11 2002-06-14 23:24:49 bird Exp $ 2 2 * 3 3 * This is the master tools environment script. It contains environment … … 78 78 aCfg.i.sId = 'mscv6-16'; aCfg.i.sGrp = 'comp16'; aCfg.i.sSet = 'MSCV6_16'; aCfg.i.sDesc = 'MicroSoft C v6.0a 16-bit'; i = i + 1; 79 79 aCfg.i.sId = 'mysql'; aCfg.i.sGrp = 'database'; aCfg.i.sSet = 'mySQL'; aCfg.i.sDesc = 'MySql any version (latest from Yuri is recommended)'; i = i + 1; 80 aCfg.i.sId = 'nasm9833'; aCfg.i.sGrp = 'asm'; aCfg.i.sSet = 'NASM,''nasm9833'''; aCfg.i.sDesc = 'NASM version 0.98.33 compiled on May 28 2002'; i = i + 1; 80 81 aCfg.i.sId = 'netqos2'; aCfg.i.sGrp = 'misc'; aCfg.i.sSet = 'NetQOS2'; aCfg.i.sDesc = 'NetQOS2 - help system for VAC40,VAC365,DB2 and more.'; i = i + 1; 81 82 aCfg.i.sId = 'odin32testcase'; aCfg.i.sGrp = 'tests'; aCfg.i.sSet = 'Odin32Testcase'; aCfg.i.sDesc = 'Odin32 testcase setup'; i = i + 1; … … 330 331 /* make rexx expression */ 331 332 if (pos(',', aCfg.iTool.sSet) > 0) then 332 sRexx = substr(aCfg.iTool.sSet, 1, pos(',', aCfg.iTool.sSet) - 1) || '(aCfg.iTool.s Set,sOperation,fRM,fQuiet',333 sRexx = substr(aCfg.iTool.sSet, 1, pos(',', aCfg.iTool.sSet) - 1) || '(aCfg.iTool.sId,sOperation,fRM,fQuiet', 333 334 || substr(aCfg.iTool.sSet, pos(',', aCfg.iTool.sSet)) || ')'; 334 335 else 335 sRexx = aCfg.iTool.sSet || '(aCfg.iTool.s Set,sOperation,fRM,fQuiet)';336 sRexx = aCfg.iTool.sSet || '(aCfg.iTool.sId,sOperation,fRM,fQuiet)'; 336 337 fQuiet = 0; 337 338 if (\fRM) then sOperation = 'install'; … … 396 397 /* make rexx expression */ 397 398 if (pos(',', aCfg.iTool.sSet) > 0) then 398 sRexx = substr(aCfg.iTool.sSet, 1, pos(',', aCfg.iTool.sSet) - 1) || '(aCfg.iTool.s Set,sOperation,fRM,fQuiet',399 sRexx = substr(aCfg.iTool.sSet, 1, pos(',', aCfg.iTool.sSet) - 1) || '(aCfg.iTool.sId,sOperation,fRM,fQuiet', 399 400 || substr(aCfg.iTool.sSet, pos(',', aCfg.iTool.sSet)) || ')'; 400 401 else 401 sRexx = aCfg.iTool.sSet || '(aCfg.iTool.s Set,sOperation,fRM,fQuiet)';402 sRexx = aCfg.iTool.sSet || '(aCfg.iTool.sId,sOperation,fRM,fQuiet)'; 402 403 if (fForced) then sOperation = 'forcedconfig'; 403 404 else sOperation = 'config'; … … 453 454 /* make rexx expression */ 454 455 if (pos(',', aCfg.iTool.sSet) > 0) then 455 sRexx = substr(aCfg.iTool.sSet, 1, pos(',', aCfg.iTool.sSet) - 1) || '(aCfg.iTool.s Set,sOperation,fRM,fQuiet',456 sRexx = substr(aCfg.iTool.sSet, 1, pos(',', aCfg.iTool.sSet) - 1) || '(aCfg.iTool.sId,sOperation,fRM,fQuiet', 456 457 || substr(aCfg.iTool.sSet, pos(',', aCfg.iTool.sSet)) || ')'; 457 458 else 458 sRexx = aCfg.iTool.sSet || '(aCfg.iTool.s Set,sOperation,fRM,fQuiet)';459 sRexx = aCfg.iTool.sSet || '(aCfg.iTool.sId,sOperation,fRM,fQuiet)'; 459 460 if (fQuiet) then sOperation = 'quietverify'; 460 461 else sOperation = 'verify'; … … 508 509 /* make rexx expression */ 509 510 if (pos(',', aCfg.iTool.sSet) > 0) then 510 sRexx = substr(aCfg.iTool.sSet, 1, pos(',', aCfg.iTool.sSet) - 1) || '(aCfg.iTool.s Set,''quietisconfig'',0,1',511 sRexx = substr(aCfg.iTool.sSet, 1, pos(',', aCfg.iTool.sSet) - 1) || '(aCfg.iTool.sId,''quietisconfig'',0,1', 511 512 || substr(aCfg.iTool.sSet, pos(',', aCfg.iTool.sSet)) || ')'; 512 513 else 513 sRexx = aCfg.iTool.sSet || '(aCfg.iTool.s Set,''quietisconfig'',0,1)';514 sRexx = aCfg.iTool.sSet || '(aCfg.iTool.sId,''quietisconfig'',0,1)'; 514 515 interpret 'iRc = '||sRexx; 515 516 return (iRc = 0); … … 603 604 */ 604 605 605 /* for quiet verify and configured test, fail sliently. */606 if ((sOperation = 'quietisconfig') | (sOperation = 'quietverify') ) then606 /* for quiet verify, configured test and uninstall, fail sliently. */ 607 if ((sOperation = 'quietisconfig') | (sOperation = 'quietverify') | (sOperation = 'quietuninstall')) then 607 608 return ''; 608 609 … … 750 751 aPath.i.sPId = 'mscv6-16'; aPath.i.sPath = 'f:\ddktools\toolkits\msc60'; i = i + 1; 751 752 aPath.i.sPId = 'mysql'; aPath.i.sPath = 'f:\mysql2'; i = i + 1; 753 aPath.i.sPId = 'nasm9833'; aPath.i.sPath = 'f:\nasm\os2\0.98.33'; i = i + 1; 752 754 aPath.i.sPId = 'netqos2'; aPath.i.sPath = 'f:\netqos2'; i = i + 1; 753 755 aPath.i.sPId = 'perl'; aPath.i.sPath = 'f:\perllib'; i = i + 1; … … 1998 2000 1999 2001 /* 2002 * NASM - NetWide Assembler (all versions) 2003 */ 2004 NASM: procedure expose aCfg. aPath. sPathFile 2005 parse arg sToolId,sOperation,fRM,fQuiet,sPathId 2006 2007 /* 2008 * Get NASM directory 2009 */ 2010 sPathNASM = PathQuery(sPathId, sToolId, sOperation); 2011 if (sPathNASM = '') then 2012 return 1; 2013 /* If config operation we're done now. */ 2014 if (pos('config', sOperation) > 0) then 2015 return 0; 2016 2017 /* 2018 * Installing the environment variables. 2019 */ 2020 call EnvSet fRM, 'PATH_NASM', sPathNASM; 2021 call EnvAddFront fRM, 'path', sPathNASM 2022 2023 /* 2024 * Verify. 2025 */ 2026 if (pos('verify', sOperation) <= 0) then 2027 return 0; 2028 if ( \CfgVerifyFile(sPathNASM'\nasm.exe', fQuiet), 2029 | \CfgVerifyFile(sPathNASM'\ndisasm.exe', fQuiet), 2030 ) then 2031 return 2; 2032 select 2033 when (sPathId = 'nasm9833') then sVer = '0.98.33 compiled'; 2034 otherwise do; say 'internal error invalid pathid! sPathId='sPathId; exit(16); end 2035 end 2036 rc = CheckCmdOutput('nasm -version', 0, fQuiet, 'NASM version '||sVer); 2037 if (rc = 0) then 2038 rc = CheckCmdOutput('ndisasm -version', 0, fQuiet, 'NDISASM version '||sVer); 2039 return rc; 2040 2041 2042 2043 /* 2000 2044 * NetQOS2 - help subsystem++ for VAC 3.6.5 and VAC 4.0 2001 2045 */
Note:
See TracChangeset
for help on using the changeset viewer.
