From: Braden M. <br...@en...> - 2006-11-19 06:05:51
|
On Sun, 2006-11-19 at 00:00 +0100, Stefan Rilling wrote: > Hello, > > BM> Stripping a static library is a little unusual; and you might have to > BM> play with some of the options to strip to see what works. Read "man > BM> strip". You definitely don't want to strip *everything*; I'd start with > BM> --strip-unneeded. > I forgot to mention that I already tried all the options strip offers. > both --strip-unneeded and --discard-all give me the error: > BFD: BFD 2.15.91 20040904 internal error, aborting at ../../src/bfd/coffcode.h l > ine 852 in handle_COMDAT > > BFD: Please report this bug. Bummer. Oh, well. It's Cygwin. > --discard-locals and --strip-debug do not reduce the size nameable. > The problem with the size of libopenvrml.a I have is that the linking > process for my app takes about 10 minutes, and as I'm quite new to > openVRML, I have to recompile very often to try different things. So > do I have any other chances to speed up linking instead of striping > the library? You could not use Cygwin/gcc. gcc doesn't handle lots of large symbols particularly well on any platform--though this is improving. (The Red Hat variant of gcc 4.1.1 that ships with Fedora Core 6 includes improvements that make compiling/linking OpenVRML *fly* relative to previous releases.) In general, if something is slow, doing it on Cygwin will make it even slower. Can you use the Microsoft compiler? -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |