[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libtool needs -input-file option
From: |
Alexandre Oliva |
Subject: |
Re: Libtool needs -input-file option |
Date: |
23 Feb 2001 17:02:35 -0300 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
On Feb 20, 2001, Robert Boehne <address@hidden> wrote:
> I don't think I can assign the objects to the argument list $0 $1 $2 etc
> because that would exceed the same limit as the shell.(?)
I think it's ok to do it. IIUC, the command-line length limit only
applies to the exec() system call, when it has to set up argc, argv
and envvars for the new process in a static memory region.
So, we could run a first pass over command-line arguments looking for
-lt-input-file filename and expanding them. Bonus points if you can
fold this pass into the current argument-list handling loops :-)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me