Changeset 9236


Ignore:
Timestamp:
Sep 14, 2002, 6:03:38 PM (23 years ago)
Author:
bird
Message:

Added support for 'MSC v7.0 with OS/2 support'.

Location:
trunk
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/make/setup.mak

    r9186 r9236  
    1 # $Id: setup.mak,v 1.18 2002-09-01 13:58:18 bird Exp $
     1# $Id: setup.mak,v 1.19 2002-09-14 16:03:37 bird Exp $
    22
    33#
     
    6969SHT_BLDENV=mscv6-16
    7070!endif
     71!if "$(BUILD_ENV)" == "MSCV7-16"
     72SHT_BLDENV=mscv7-16
     73!endif
    7174!if "$(BUILD_ENV)" == "WAT11C"
    7275SHT_BLDENV=wat11
     
    7679!endif
    7780!if "$(SHT_BLDENV)" == ""
    78 ! error Fatal error: Env.var BUILD_ENV is either unspecified or incorrect. ($(BUILD_MODE)) Valid values: VAC308, VAC365, VAC4, EMX, MSCV6-16, WAT11C and WAT11C-16.
     81! error Fatal error: Env.var BUILD_ENV is either unspecified or incorrect. ($(BUILD_MODE)) Valid values: VAC308, VAC365, VAC4, EMX, MSCV6-16, MSCV7-16, WAT11C and WAT11C-16.
    7982!endif
    8083
     
    100103SHT_BLDENVFRC=mscv6-16
    101104!endif
     105!if "$(BUILD_ENV_FORCE)" == "MSCV7-16"
     106SHT_BLDENVFRC=mscv7-16
     107!endif
    102108!if "$(BUILD_ENV_FORCE)" == "WAT11C"
    103109SHT_BLDENVFRC=wat11
     
    107113!endif
    108114!if "$(SHT_BLDENVFRC)" == ""
    109 ! error Fatal error: Var BUILD_ENV_FORCE is incorrect. ($(BUILD_ENV_FORCE)) Valid values: VAC308, VAC365, VAC4, EMX, MSCV6-16, WAT11C and WAT11C-16.
     115! error Fatal error: Var BUILD_ENV_FORCE is incorrect. ($(BUILD_ENV_FORCE)) Valid values: VAC308, VAC365, VAC4, EMX, MSCV6-16, MSCV7-16, WAT11C and WAT11C-16.
    110116!endif
    111117!else
  • trunk/tools/bin/buildenv.cmd

    r9206 r9236  
    1 /* $Id: buildenv.cmd,v 1.31 2002-09-05 01:20:11 bird Exp $
     1/* $Id: buildenv.cmd,v 1.32 2002-09-14 16:01:03 bird Exp $
    22 *
    33 * This is the master tools environment script. It contains environment
     
    126126    aCfg.i.sId = 'mscv6';           aCfg.i.sGrp = 'comp32';     aCfg.i.sSet = 'MSCV6_32';               aCfg.i.sDesc = 'MicroSoft C v6.0 32-bit';   i = i + 1;
    127127    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;
     128    aCfg.i.sId = 'mscv7-16';        aCfg.i.sGrp = 'comp16';     aCfg.i.sSet = 'MSCV7_16';               aCfg.i.sDesc = 'MicroSoft C v7.0 16-bit with OS/2 support';  i = i + 1;
    128129    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;
    129130    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;
     
    846847        aPath.i.sPId = 'home';                      aPath.i.sPath = 'e:\user\kso';                  i = i + 1;
    847848        aPath.i.sPId = 'mscv6-16';                  aPath.i.sPath = 'f:\ddktools\toolkits\msc60';   i = i + 1;
     849        aPath.i.sPId = 'mscv7-16';                  aPath.i.sPath = 'f:\msc\v7.0';                  i = i + 1;
    848850        aPath.i.sPId = 'mysql';                     aPath.i.sPath = 'f:\mysql2';                    i = i + 1;
    849851        aPath.i.sPId = 'nasm9833';                  aPath.i.sPath = 'f:\nasm\os2\0.98.33';          i = i + 1;
     
    895897        aPath.i.sPId = 'home';                      aPath.i.sPath = 'x:\home';                      i = i + 1;
    896898        aPath.i.sPId = 'mscv6-16';                  aPath.i.sPath = 'e:\ddktools\toolkits\msc60';   i = i + 1;
    897       /*aPath.i.sPId = 'mysql';                     aPath.i.sPath = 'e:\mysql2';                    i = i + 1;
     899      /*aPath.i.sPId = 'mscv7-16';                  aPath.i.sPath = 'e:\msc\v7.0';                  i = i + 1;
     900        aPath.i.sPId = 'mysql';                     aPath.i.sPath = 'e:\mysql2';                    i = i + 1;
    898901        aPath.i.sPId = 'netqos2';                   aPath.i.sPath = 'e:\netqos2';                   i = i + 1;
    899902        aPath.i.sPId = 'perl';                      aPath.i.sPath = 'e:\perllib';                   i = i + 1;
     
    943946        aPath.i.sPId = 'home';                      aPath.i.sPath = 'd:\home\bird';                 i = i + 1;
    944947        aPath.i.sPId = 'mscv6-16';                  aPath.i.sPath = 'd:\dev\ddktools\toolkits\msc60'; i = i + 1;
     948        aPath.i.sPId = 'mscv7-16';                  aPath.i.sPath = 'd:\dev\msc\v7.0';              i = i + 1;
    945949        aPath.i.sPId = 'mysql';                     aPath.i.sPath = 'd:\apps\mysql\v3.23.50b1';     i = i + 1;
    946950      /*aPath.i.sPId = 'netqos2';                   aPath.i.sPath = 'e:\netqos2';                   i = i + 1;
     
    23452349
    23462350/*
     2351 * Microsoft C v7.0 16-bit with OS/2 support.
     2352 */
     2353MSCV7_16: procedure expose aCfg. aPath. sPathFile
     2354    parse arg sToolId,sOperation,fRM,fQuiet
     2355
     2356    /*
     2357     * Microsoft C v6.0a main directory.
     2358     */
     2359    sPathMSC    = PathQuery('mscv7-16', sToolId, sOperation);
     2360    if (sPathMSC = '') then
     2361        return 1;
     2362    /* If config operation we're done now. */
     2363    if (pos('config', sOperation) > 0) then
     2364        return 0;
     2365
     2366    /*
     2367     * Installing the environment variables.
     2368     */
     2369    call EnvSet      fRM, 'BUILD_ENV',  'MSCV7-16'
     2370    call EnvSet      fRM, 'BUILD_PLATFORM', 'OS2'
     2371    call EnvSet      fRM, 'PATH_MSC',   sPathMSC;
     2372    call EnvAddFront fRM, 'path',       sPathMSC'\binp;'
     2373    call EnvAddFront fRM, 'include',    sPathMSC'\include;'
     2374    call EnvAddFront fRM, 'include16',  sPathMSC'\include;'
     2375    call EnvAddFront fRM, 'lib',        sPathMSC'\lib;'
     2376
     2377    /*
     2378     * Verify.
     2379     */
     2380    if (pos('verify', sOperation) <= 0) then
     2381        return 0;
     2382    if (    \CfgVerifyFile(sPathMSC'\binp\cl.exe', fQuiet),
     2383        |   \CfgVerifyFile(sPathMSC'\binp\link.exe', fQuiet),
     2384        |   \CfgVerifyFile(sPathMSC'\binp\ilink.exe', fQuiet),
     2385       /* |   \CfgVerifyFile(sPathMSC'\lib\clibcep.lib', fQuiet),
     2386        |   \CfgVerifyFile(sPathMSC'\lib\llibcep.lib', fQuiet),
     2387        |   \CfgVerifyFile(sPathMSC'\lib\mlibcep.lib', fQuiet),
     2388        |   \CfgVerifyFile(sPathMSC'\lib\slibcep.lib', fQuiet)*/,
     2389        |   \CfgVerifyFile(sPathMSC'\include\dos.h', fQuiet),
     2390        |   \CfgVerifyFile(sPathMSC'\include\bios.h', fQuiet),
     2391        |   \CfgVerifyFile(sPathMSC'\include\locale.h', fQuiet),
     2392        |   \CfgVerifyFile(sPathMSC'\include\stdiostr.h', fQuiet),
     2393        |   \CfgVerifyFile(sPathMSC'\include\string.h', fQuiet),
     2394        |   \CfgVerifyFile(sPathMSC'\include\vmemory.h', fQuiet),
     2395        |   \CfgVerifyFile(sPathMSC'\include\stdio.h', fQuiet),
     2396        ) then
     2397        return 2;
     2398    rc = CheckCmdOutput('cl', 0, fQuiet, 'Microsoft (R) C/C++ Optimizing Compiler Version 7.00');
     2399return rc;
     2400
     2401
     2402
     2403
     2404/*
    23472405 * mySQL Database system
    23482406 */
Note: See TracChangeset for help on using the changeset viewer.