libtool
[Top][All Lists]
Advanced

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

cygwin static archives piecewise


From: David Thompson
Subject: cygwin static archives piecewise
Date: Tue, 24 Sep 2002 10:52:30 -0600

I have a project that builds a large library. So big that it needs to do piecewise archiving on cygwin. Within cygwin, the command that is getting issued for building the static lib is:

LIB /OUT:library.lib $object_files

All is fine and dandy until it issues the next piece to be added and it issues:

LIB /OUT:library.lib $object_files2

The problem is, LIB /OUT is telling lib to replace the previous archived objects. Instead the two pieces should be:

LIB /OUT:library.lib $object_files
LIB library.lib $object_files2

This would append the $object_files2 to the archive. I looked at the generated libtool and the biggest problem is that /OUT:library.lib is part of the old_archive_cmds variable. So this needs to be broke up differently. Has this work already been fixed in CVS? Should I work on it?

David
--
.............................................................................
David L. Thompson                          The University of Montana
mailto:address@hidden                 Computer Science Department
http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
                                           Work Phone : (406)257-8530




reply via email to

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