From: Braden M. <br...@en...> - 2006-10-24 14:39:20
|
On Tue, 2006-10-24 at 13:23 +0200, Stefan Rilling wrote: > Hi all, > > I recently build openvrml 0.16.0 using Cygwin. The resulting > libopenvrml.a has a size of nearly 125 MB, and as you can already read in the subject, > linking statically takes some major amount of time. Is this normal or > am I doing something wrong? It's normal. The overwhelming majority of that heft is symbols--which can get huge with nontrivial template code. gcc seems particularly slow managing these symbols (relative to some other compilers). If you build without debugging symbols (i.e., set CXXFLAGS to something without -g in it when running configure), things will go a good deal faster and you'll get a much smaller binary. Though obviously the debugging symbols won't be there if you need them. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |