Changes between Version 1 and Version 2 of Ticket #49, comment 3


Ignore:
Timestamp:
Jan 12, 2015, 3:19:36 PM (9 years ago)
Author:
dmik
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49, comment 3

    v1 v2  
    33I see three possible solutions:
    44
    5 1. Make `lt_cv_sys_max_cmd_len` always set to -1 on OS/2. This will not involve `ld.exe` invocation and, given that `sh.exe` is used as a shell, it will (almost) work since `sh.exe` has a very huge limit on the command line length (up to the limit of DosExecPgm which is about 32 KB IIRC, or may be even 64 KB). This is the easiest option.
     51. Make `lt_cv_sys_max_cmd_len` always set to -1 on OS/2. This will not involve `ld.exe` invocation and, given that `sh.exe` is used as a shell, it will (almost) always work since `sh.exe` has a very huge limit on the command line length (up to the limit of DosExecPgm which is about 32 KB IIRC, or may be even 64 KB). This is the easiest option.
    66
    772. Use `ar.exe` (`emxomfar.exe`) instead of `ld` for such a job ('ar' is known to work well). This requires some tailoring of libtool. Not as fast as !#1 but looks more clever to me (since it is guaranteed to never hit any command line limit).