bug-libtool
[Top][All Lists]
Advanced

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

Re: Cygwin failure with large number of sources


From: Ralf Wildenhues
Subject: Re: Cygwin failure with large number of sources
Date: Wed, 14 Jun 2006 16:47:54 +0200
User-agent: Mutt/1.5.11

* Christopher Hulbert wrote on Wed, Jun 14, 2006 at 04:37:50PM CEST:
> On 6/14/06, Ralf Wildenhues <address@hidden> wrote:
> >
> >setting not trigger a multiple archiver invocation?
> >All these questions may be answered by the output of
> >  ./libtool --debug [rest of command line] >log 2>&1

> That won't work.  It's crashing I guess trying to call libtool with
> all those arguments.

Ah, there is a fix for this:  Create a file with all objects listed in
it.  Use it as argument to the libtool option -objectlist.

If you want to create the file from a Makefile, and have all the object
names in a variable, you could do
  echo $(ALLOBJECTS) | tr ' ' '\n' > libfoo.objectlist

but it could possibly fail as well (the shell command being too long,
too), leaving you with the need to resort to some other means to create
the list, possibly by using make variables which contain only subsets of
object names which are short enough for the command line.

If that still fails, but now inside libtool, post as decribed above.

Cheers,
Ralf




reply via email to

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