libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] list of input files if max_cmd_len exceeded


From: Peter O'Gorman
Subject: Re: [patch] list of input files if max_cmd_len exceeded
Date: Thu, 14 Apr 2005 21:38:49 +0900
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Ralf Wildenhues wrote:
What would the linker do with special characters in file names?
Not that it would matter for libtool ATM, but this might change (at
least the dollar sign would be helpful), so it'd be good to know what
breaks then.

Also, if we find more linkers with more link script syntax forms, it
might be good to fold that into a recipe to be put in libtool.m4.
Something like

I don't think that this is necessary yet. David's patch should, for example, work with non-ancient darwin tools, just need to use -filelist <filename>.

Unnecessary.  Just do
  $ECHO "X$save_libobjs" | $Xsed | $SP2NL > $output
instead of looping over every file.  Note that $ECHO may only take one
argument.  Also, your patch does not remove $output before using, so a
second link would have a wrong list.

This would seem to be true for the gnu linker script case too. I think the time saved by doing this is microscopic compared to the time saved by avoiding the ld -r loops though :)

Peter
--
Peter O'Gorman - http://www.pogma.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]