Changeset 3377 for trunk


Ignore:
Timestamp:
Jun 5, 2007, 11:08:19 PM (18 years ago)
Author:
bird
Message:

Recognize WLINK as a linker type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/emx/src/misc/gccenv.cmd

    r1601 r3377  
    4646
    4747sLinker = translate(sLinker);
    48 if (sLinker <> '' & sLinker <> 'VAC308' & sLinker <> 'VAC365' & sLinker <> 'LINK386') then
     48if (sLinker <> '' & sLinker <> 'VAC308' & sLinker <> 'VAC365' & sLinker <> 'LINK386' & sLinker <> 'WLINK') then
    4949do
    5050    say 'Syntax error: Invalid linker '''sLinker''' specified.';
     
    139139    call EnvSet      fRM, 'PROTODIR',           sGCCForw'/include/c++/gen'
    140140
     141    /* use wlink? */
     142    if (sLinker = 'WLINK') then
     143    do
     144        call EnvSet  fRM, 'EMXOMFLD_TYPE',      'WLINK';
     145        call EnvSet  fRM, 'EMXOMFLD_LINKER',    'wl.exe';
     146        /* call EnvSet  fRM, 'EMXOMFLD_LINKER',    'wl.exe'; - comment this in if you use an official OpenWatcom wlink. */
     147    end
     148
    141149    /* use link386? */
    142150    if (sLinker = 'LINK386') then
Note: See TracChangeset for help on using the changeset viewer.