Changeset 655
- Timestamp:
- Mar 8, 2010, 3:50:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mkspecs/os2-g++/emxexpw.cmd
r562 r655 95 95 /* check options */ 96 96 if (Opt.!DefFile == '') then call Error "E_NoDefFile" 97 if (Opt.!Objects.0 == 0) then call Error "E_NoObjectFiles" 97 if (Opt.!DefMap \== '') then 98 if (Opt.!Objects.0 == 0) then call Error "E_NoObjectFiles" 98 99 99 100 /* apply default options */ … … 103 104 104 105 /* check emxexp.exe existence */ 105 G.emxexp_exe = SysSearchPath('PATH', 'EMXEXP.EXE') 106 if (G.emxexp_exe == '') then call Error "E_CantFindEMXEXP" 106 if (Opt.!DefMap \== '' | Opt.!Objects.0 > 0) then do 107 G.emxexp_exe = SysSearchPath('PATH', 'EMXEXP.EXE') 108 if (G.emxexp_exe == '') then call Error "E_CantFindEMXEXP" 109 end 107 110 108 111 Opt.!ObjectsList = '' … … 138 141 139 142 /* write object files to a responce file for EMXEXP */ 140 if (Opt.!ObjectsList == '' ) then do143 if (Opt.!ObjectsList == '') then do 141 144 G.!ObjectListFile = SysTempFileName(GetTempDir()'\emxxexp_?????.tmp') 142 145 do i = 1 to Opt.!Objects.0 … … 167 170 168 171 call lineout Opt.!DefFile 172 173 174 175 169 176 170 177 if (have_exports_macro) then do
Note:
See TracChangeset
for help on using the changeset viewer.