Re: "argument list too long" error

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
On Wed, 25 Mar 2015, Vincent Torri wrote:

> Is this log file sufficient ?

Yes, because it shows that the problematic arguments were passed to 
libtool's command line, and not produced internally by libtool.

Perhaps the repetitions were produced by a improperly constructed 
configure script, Makefile, or somehow induced into the execution 
environment?

It seems that CPPFLAGS was constructed improperly, adding similar 
stuff over and over rather than just once.

Bob

> 
> Vincent Torri
> 
> On Wed, Mar 25, 2015 at 8:39 PM, Bob Friesenhahn <[email protected]> wrote:
>       On Wed, 25 Mar 2015, Vincent Torri wrote:
>
>             also it seems that on Linux, it's not the case (no such long list of
>             arguments), while on Windows, it is. So maybe a problem in the Windows
>             port of libtool
> 
>
>       The only way to know this is if we could see the arguments which were passed to libtool, but you did not provide
>       this to us.  Are the duplicate arguments passed to libtool?
>
>       Windows has a vastly smaller command line limit than Linux does, and the Windows command-line limit is combined
>       with environment variable space so more environment variables decreases the command-line length limit.
>
>       Bob
>       --
>       Bob Friesenhahn
>       [email protected], http://www.simplesystems.org/users/bfriesen/
>       GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
> 
> 
> 
>

-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool
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.