This is the mail archive of the
mailing list for the GCC project.
Re: Advice requested: how big can we be?
- From: Michael Matz <matz at suse dot de>
- To: Andrew Haley <aph at redhat dot com>
- Cc: Karel Gardas <kgardas at objectsecurity dot com>,Joe Buck <jbuck at synopsys dot com>,"S. Bosscher" <S dot Bosscher at student dot tudelft dot nl>,"'gcc at gcc dot gnu dot org '" <gcc at gcc dot gnu dot org>
- Date: Tue, 16 Sep 2003 21:58:59 +0200 (CEST)
- Subject: Re: Advice requested: how big can we be?
On Tue, 16 Sep 2003, Andrew Haley wrote:
> > I don't know gcj, but what about to divide one lib into several for
> > example following root packages? i.e. libgcjjavanet, libgcjjavalang,
> > libgcjjavautil etc.
> We could do that. It would be a bit cumbersome, so I'm not keen on
> the idea. I see the advantage, though.
AFAI understand you basically use libtool, don't you? In that case you
want to use convenience libraries, and they aren't difficult to use at
all. For instance separate each toplevel dir in libjave/ into one
convenience lib, and use those to link together the full libjava. That of
course puts more stress to the linker than just compiling the whole thing
to one object, but if you can build everything to one object, you also can
build every of the six subdirs (or subsubdirs) to one object and only link
those six or sixty objects into the lib.