Changeset 9925 for trunk/tools


Ignore:
Timestamp:
Mar 19, 2003, 9:51:51 PM (23 years ago)
Author:
bird
Message:

Added gcc v3.2.1 beta.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bin/buildenv.cmd

    r9847 r9925  
    1 /* $Id: buildenv.cmd,v 1.46 2003-02-24 14:51:46 bird Exp $
     1/* $Id: buildenv.cmd,v 1.47 2003-03-19 20:51:51 bird Exp $
    22 *
    33 * This is the master tools environment script. It contains environment
     
    2727     * Version
    2828     */
    29     sVersion = '1.0.17 [2003-02-24]';
     29    sVersion = '1.0.18 [2003-03-19]';
    3030
    3131    /*
     
    114114    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;
    115115    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;
    118119    aCfg.i.sId = 'icatgam';         aCfg.i.sGrp = 'debugger';   aCfg.i.sSet = 'ICATGam';                aCfg.i.sDesc = 'ICAT for OS/2 latest';      i = i + 1;
    119120    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;
     
    840841        aPath.i.sPId = 'gcc302';                    aPath.i.sPath = 'f:\gcc302beta';                i = i + 1;
    841842        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;
    842844        aPath.i.sPId = 'icatgam';                   aPath.i.sPath = 'f:\icatos2';                   i = i + 1;
    843845        aPath.i.sPId = 'icatgam406rc1';             aPath.i.sPath = 'f:\icatos2.4.0.6.rc1';         i = i + 1;
     
    867869        aPath.i.sPId = 'unixroot';                  aPath.i.sPath = 'e:\unix';                      i = i + 1;
    868870        aPath.i.sPId = 'xfree86';                   aPath.i.sPath = 'e:\xfree86';                   i = i + 1;
    869         aPath.i.sPId = 'vac308';                    aPath.i.sPath = 'f:\vacpp\v308';                    i = i + 1;
    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;
    871873        aPath.i.sPId = 'vac40';                     aPath.i.sPath = 'f:\ibmcpp40';                  i = i + 1;
    872874        aPath.i.sPId = 'warpin';                    aPath.i.sPath = 'f:\warpin';                    i = i + 1;
     
    893895        aPath.i.sPId = 'emxpgcc';                   aPath.i.sPath = 'e:\dev\emxpgcc\v2.95.2';       i = i + 1;
    894896        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;
    895898      /*aPath.i.sPId = 'db2v52';                    aPath.i.sPath = 'e:\sqllib52';                  i = i + 1;
    896899        aPath.i.sPId = 'icatgam';                   aPath.i.sPath = 'e:\icatos2';                   i = i + 1;
     
    943946        aPath.i.sPId = 'emxpgcc';                   aPath.i.sPath = 'd:\dev\emxpgcc\v2.95.2';       i = i + 1;
    944947        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;
    945949      /*aPath.i.sPId = 'db2v52';                    aPath.i.sPath = 'e:\sqllib52';                  i = i + 1;
    946950        aPath.i.sPId = 'icatgam';                   aPath.i.sPath = 'e:\icatos2';                   i = i + 1;
     
    19741978
    19751979/*
    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.
    19771981 * Note! bin.new has been renamed to bin!
    19781982 * Note! make .lib of every .a! in 4OS2: for /R %i in (*.a) do if not exist %@NAME[%i].lib emxomf %i
    19791983 */
    1980 GCC30x: procedure expose aCfg. aPath. sPathFile
     1984GCC3xx: procedure expose aCfg. aPath. sPathFile
    19811985    parse arg sToolId,sOperation,fRM,fQuiet,sPathId
    19821986
     
    20152019     * Verify.
    20162020     */
    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
    20182025    if (pos('verify', sOperation) <= 0) then
    20192026        return 0;
     
    20322039        |   \CfgVerifyFile(sGCCBack'\lib\opcodes_s.a', fQuiet),
    20332040        |   \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),
    20362041        ) then
    20372042        return 2;
    20382043
    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
    20442070return rc;
    20452071
Note: See TracChangeset for help on using the changeset viewer.