Ralf Wildenhues writes:
Ralf> If your command line is too long, it's too long. And if $ECHO is not
Ralf> builtin, it might be too long for it as well.
Avoiding $ECHO also makes creating archive_linkscript_cmds more
cumbersome.
Appended is the current iteration of the patch, using loop and
initializing $output file.
Thanks, David
* config/ltmain.m4sh (func_mode_link): If command exceeds
max_cmd_len and file_list_spec exists, write list of input files
to temporary file.
* m4/libtool.m4 (_LT_LINKER_SHLIBS, aix[45]): Define file_list_spec.
(_LT_LANG_CXX_CONFIG, aix[45]): Define file_list_spec.