Changes between Version 1 and Version 2 of Ticket #49, comment 3
- Timestamp:
- Jan 12, 2015, 4:19:36 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49, comment 3
v1 v2 3 3 I see three possible solutions: 4 4 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.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) 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. 6 6 7 7 2. 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).