On Feb 20, 2001, Robert Boehne <[EMAIL PROTECTED]> 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                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to