Changeset 9925 for trunk/tools
- Timestamp:
- Mar 19, 2003, 9:51:51 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bin/buildenv.cmd
r9847 r9925 1 /* $Id: buildenv.cmd,v 1.4 6 2003-02-24 14:51:46bird Exp $1 /* $Id: buildenv.cmd,v 1.47 2003-03-19 20:51:51 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.1 7 [2003-02-24]';29 sVersion = '1.0.18 [2003-03-19]'; 30 30 31 31 /* … … 114 114 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; 115 115 aCfg.i.sId = 'freetypeemx'; aCfg.i.sGrp = 'misc'; aCfg.i.sSet = 'FreeTypeEMX'; aCfg.i.sDesc = 'FreeType v1.3.1 for EMX.'; i = i + 1; 116 aCfg.i.sId = 'gcc302'; aCfg.i.sGrp = 'comp32'; aCfg.i.sSet = 'GCC30x,''gcc302'''; aCfg.i.sDesc = 'GCC/EMX v3.0.2beta with binutils 2.11.2'; i = i + 1; 117 aCfg.i.sId = 'gcc303'; aCfg.i.sGrp = 'comp32'; aCfg.i.sSet = 'GCC30x,''gcc303'''; aCfg.i.sDesc = 'GCC/EMX v3.0.3beta with binutils 2.11.2'; i = i + 1; 116 aCfg.i.sId = 'gcc302'; aCfg.i.sGrp = 'comp32'; aCfg.i.sSet = 'GCC3xx,''gcc302'''; aCfg.i.sDesc = 'GCC/EMX v3.0.2beta with binutils 2.11.2'; i = i + 1; 117 aCfg.i.sId = 'gcc303'; aCfg.i.sGrp = 'comp32'; aCfg.i.sSet = 'GCC3xx,''gcc303'''; aCfg.i.sDesc = 'GCC/EMX v3.0.3beta with binutils 2.11.2'; i = i + 1; 118 aCfg.i.sId = 'gcc321'; aCfg.i.sGrp = 'comp32'; aCfg.i.sSet = 'GCC3xx,''gcc321'''; aCfg.i.sDesc = 'GCC/EMX v3.2.1beta with binutils 2.11.2'; i = i + 1; 118 119 aCfg.i.sId = 'icatgam'; aCfg.i.sGrp = 'debugger'; aCfg.i.sSet = 'ICATGam'; aCfg.i.sDesc = 'ICAT for OS/2 latest'; i = i + 1; 119 120 aCfg.i.sId = 'icatgam406rc1'; aCfg.i.sGrp = 'debugger'; aCfg.i.sSet = 'ICATGam406RC1'; aCfg.i.sDesc = 'ICAT for OS/2 v4.0.6 release candidate 1'; i = i + 1; … … 840 841 aPath.i.sPId = 'gcc302'; aPath.i.sPath = 'f:\gcc302beta'; i = i + 1; 841 842 aPath.i.sPId = 'gcc303'; aPath.i.sPath = 'f:\gcc\v3.0.3beta\emx'; i = i + 1; 843 aPath.i.sPId = 'gcc321'; aPath.i.sPath = 'f:\gcc\v3.2.1beta\emx'; i = i + 1; 842 844 aPath.i.sPId = 'icatgam'; aPath.i.sPath = 'f:\icatos2'; i = i + 1; 843 845 aPath.i.sPId = 'icatgam406rc1'; aPath.i.sPath = 'f:\icatos2.4.0.6.rc1'; i = i + 1; … … 867 869 aPath.i.sPId = 'unixroot'; aPath.i.sPath = 'e:\unix'; i = i + 1; 868 870 aPath.i.sPId = 'xfree86'; aPath.i.sPath = 'e:\xfree86'; i = i + 1; 869 aPath.i.sPId = 'vac308'; aPath.i.sPath = 'f:\vacpp\v308'; 870 aPath.i.sPId = 'vac365'; aPath.i.sPath = 'f:\ ibmcxxo';i = i + 1;871 aPath.i.sPId = 'vac308'; aPath.i.sPath = 'f:\vacpp\v308'; i = i + 1; 872 aPath.i.sPId = 'vac365'; aPath.i.sPath = 'f:\vacpp\v365'; i = i + 1; 871 873 aPath.i.sPId = 'vac40'; aPath.i.sPath = 'f:\ibmcpp40'; i = i + 1; 872 874 aPath.i.sPId = 'warpin'; aPath.i.sPath = 'f:\warpin'; i = i + 1; … … 893 895 aPath.i.sPId = 'emxpgcc'; aPath.i.sPath = 'e:\dev\emxpgcc\v2.95.2'; i = i + 1; 894 896 aPath.i.sPId = 'gcc303'; aPath.i.sPath = 'e:\dev\gcc\v3.0.3\emx'; i = i + 1; 897 aPath.i.sPId = 'gcc321'; aPath.i.sPath = 'e:\dev\gcc\v3.2.1\emx'; i = i + 1; 895 898 /*aPath.i.sPId = 'db2v52'; aPath.i.sPath = 'e:\sqllib52'; i = i + 1; 896 899 aPath.i.sPId = 'icatgam'; aPath.i.sPath = 'e:\icatos2'; i = i + 1; … … 943 946 aPath.i.sPId = 'emxpgcc'; aPath.i.sPath = 'd:\dev\emxpgcc\v2.95.2'; i = i + 1; 944 947 aPath.i.sPId = 'gcc303'; aPath.i.sPath = 'd:\dev\gcc\v3.0.3\emx'; i = i + 1; 948 aPath.i.sPId = 'gcc321'; aPath.i.sPath = 'd:\dev\gcc\v3.2.1\emx'; i = i + 1; 945 949 /*aPath.i.sPId = 'db2v52'; aPath.i.sPath = 'e:\sqllib52'; i = i + 1; 946 950 aPath.i.sPId = 'icatgam'; aPath.i.sPath = 'e:\icatos2'; i = i + 1; … … 1974 1978 1975 1979 /* 1976 * EMX/GCC 3. 0.x - this environment must be used 'on' the ordinary EMX.1980 * EMX/GCC 3.x.x - this environment must be used 'on' the ordinary EMX. 1977 1981 * Note! bin.new has been renamed to bin! 1978 1982 * Note! make .lib of every .a! in 4OS2: for /R %i in (*.a) do if not exist %@NAME[%i].lib emxomf %i 1979 1983 */ 1980 GCC3 0x: procedure expose aCfg. aPath. sPathFile1984 GCC3xx: procedure expose aCfg. aPath. sPathFile 1981 1985 parse arg sToolId,sOperation,fRM,fQuiet,sPathId 1982 1986 … … 2015 2019 * Verify. 2016 2020 */ 2017 ch = right(sToolId, 1); 2021 chMajor = '3'; 2022 chMinor = left(right(sToolId, 2), 1); 2023 chRel = right(sToolId, 1); 2024 sVer = chMajor'.'chMinor'.'chRel 2018 2025 if (pos('verify', sOperation) <= 0) then 2019 2026 return 0; … … 2032 2039 | \CfgVerifyFile(sGCCBack'\lib\opcodes_s.a', fQuiet), 2033 2040 | \CfgVerifyFile(sGCCBack'\lib\opcodes_s.lib', fQuiet), 2034 | \CfgVerifyFile(sGCCBack'\lib\gcc-lib\i386-pc-os2_emx\3.0.'ch'\st\gcc_dll.lib', fQuiet),2035 | \CfgVerifyFile(sGCCBack'\lib\gcc-lib\i386-pc-os2_emx\3.0.'ch'\st\stdcxx.lib', fQuiet),2036 2041 ) then 2037 2042 return 2; 2038 2043 2039 rc = CheckCmdOutput('gcc --version', 0, fQuiet, '3.0.'||right(sPathId,1)); 2040 if (rc = 0) then 2041 rc = CheckCmdOutput('g++ --version', 0, fQuiet, '3.0.'||right(sPathId,1)); 2042 if (rc = 0) then 2043 rc = CheckCmdOutput('as --version', 0, fQuiet, 'GNU assembler 2.11.2'); 2044 if (chMinor > 0) then 2045 do 2046 if ( \CfgVerifyFile(sGCCBack'\lib\gcc-lib\i386-pc-os2-emx\'sVer'\st\'sToolId'.lib', fQuiet), 2047 | \CfgVerifyFile(sGCCBack'\lib\gcc-lib\i386-pc-os2-emx\'sVer'\st\stdcxx.lib', fQuiet), 2048 | \CfgVerifyFile(sGCCBack'\lib\gcc-lib\i386-pc-os2-emx\'sVer'\st\stdcxx.a', fQuiet), 2049 ) then 2050 return 2; 2051 end 2052 else 2053 do 2054 if ( \CfgVerifyFile(sGCCBack'\lib\gcc-lib\i386-pc-os2_emx\'sVer'\st\gcc_dll.lib', fQuiet), 2055 | \CfgVerifyFile(sGCCBack'\lib\gcc-lib\i386-pc-os2_emx\'sVer'\st\stdcxx.lib', fQuiet), 2056 | \CfgVerifyFile(sGCCBack'\lib\gcc-lib\i386-pc-os2_emx\'sVer'\st\stdcxx.a', fQuiet), 2057 ) then 2058 return 2; 2059 end 2060 2061 2062 rc = CheckCmdOutput('gcc --version', 0, fQuiet, sVer); 2063 if (rc = 0) then 2064 rc = CheckCmdOutput('g++ --version', 0, fQuiet, sVer); 2065 if (rc = 0) then 2066 do 2067 sVerAS = '2.11.2'; 2068 rc = CheckCmdOutput('as --version', 0, fQuiet, 'GNU assembler 'sVerAS); 2069 end 2044 2070 return rc; 2045 2071
Note:
See TracChangeset
for help on using the changeset viewer.