On 6/14/06, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
* Christopher Hulbert wrote on Wed, Jun 14, 2006 at 04:37:50PM CEST:
> On 6/14/06, Ralf Wildenhues <[EMAIL PROTECTED]> 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



Well, this library wont add/rm source files too often, so I'll create
the file statically and just add the -objlist flag to the AM_LDFLAGS
variable?

As a side, I posted to the libtool mailing list about some more PGI
conflicts I'm having.  It's not necessarily a libtool bug since it
assumes msvc support if not using the gcc compiler.  It seems to work
if I manually set the with_gcc=yes in the libtool script.  Can I pass
that on the AM_LDFLAGS variable?


_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to