Re: [PATCH 2/2] libtool: set file_list_spec to '@' on OS/2

KO Myung-Hun <[email protected]>
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <[email protected]>
Hi/2.

Pavel Raiskup wrote:
> KO Myung-Hun, thanks for this patch but I need to see a bit deeper
> reasoning for this change as I do not understand the code properly.
> 

Thanks a lot for your replying.

> As the $file_list_spec is used in libtool under special circumstances, can
> you describe what are the values of important variables (or could you post
> a full libtool output with shell debugging output)?
> 

Hmm... My commit message seems not to be enough. Sorry.

$file_list_spec is used if arguments being passed to a linker are too
many. That is, the total length of arguments is longer than
$max_cmd_len, which is set by LT_CMD_MAX_LEN($lt_cv_sys_max_cmd_len).

Without this patch, libtool tries to generate a re-loadable object.
However, such a object sometimes fails to being compiled on OS/2.

Whereas passing a list of objects to a linker via a response file has no
problem.

Still not enough ?

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.